# \`@TypeOf\` avoids heap allocation for only 1 parameter · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/3e3d46488419445c1b3a4b1da384f084c71cddb0)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 3e3d46488419445c1b3a4b1da384f084c71cddb0

Requested commit: 3e3d46488419445c1b3a4b1da384f084c71cddb0

Commit: 3e3d46488419445c1b3a4b1da384f084c71cddb0

Tree: 4db754e6b5986fe676664a2427342dfac608c56f

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
`@TypeOf` avoids heap allocation for only 1 parameter

```

## Parents

- [2e3e8d0c74d7b5aac3d1996bc8ce9735f2d3f8c6](https://git.cafe/gitcafe/zig/commit/2e3e8d0c74d7b5aac3d1996bc8ce9735f2d3f8c6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/3e3d46488419445c1b3a4b1da384f084c71cddb0?format=markdown)
