# Type,Value: mark \`ResolveStrat\` parameter of type queries as \`comptime\` · gitcafe/zig

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

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

Visibility: public

Requested revision: b1d3d48f687a3a73be1d9ab85035cbdc58e2bb1b

Requested commit: b1d3d48f687a3a73be1d9ab85035cbdc58e2bb1b

Commit: b1d3d48f687a3a73be1d9ab85035cbdc58e2bb1b

Tree: d81f3d9705ba2bf164ed6468ae18315c7a7ffe89

Author: mlugg

Committer: mlugg

## Message

```
Type,Value: mark `ResolveStrat` parameter of type queries as `comptime`

This eliminates the statically-reachable recursion loop between code
generation backends and Sema. This is beneficial for optimizers
(although I do not measure any performance improvement for this change),
and for profilers.

```

## Parents

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

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