aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-05-23 19:10:36 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-06-10 20:47:54 -0700
commit01ca841f1227cc3e17169c45318c8d4757a5c0d2 (patch)
tree431768f9bac787fd2568de48fa1d178e98df51df /src/codegen/spirv.zig
parent1b64eed107f54220f85a5158699225b59899a20a (diff)
downloadzig-01ca841f1227cc3e17169c45318c8d4757a5c0d2.tar.gz
zig-01ca841f1227cc3e17169c45318c8d4757a5c0d2.zip
Sema: improve the types_to_resolve mechanism
Store `InternPool.Index` as the key instead which means that an AIR instruction no longer needs to be burned to store the type, and also that we can use AutoArrayHashMap instead of an ArrayList, which avoids storing duplicates into the set, potentially saving CPU time.
Diffstat (limited to 'src/codegen/spirv.zig')
0 files changed, 0 insertions, 0 deletions