aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorSahnvour <sahnvour@pm.me>2019-07-16 22:32:10 +0200
committerSahnvour <sahnvour@pm.me>2019-08-04 12:34:37 +0200
commit54255ee32e1e6c83b04c3e5f2f1dd7e8aa5e0dd7 (patch)
tree884c44d1ed779aca0710dccb58529cfe86f3bf22 /src/codegen.cpp
parent3faf5d38576616d033c343130607189eb9fe613c (diff)
downloadzig-54255ee32e1e6c83b04c3e5f2f1dd7e8aa5e0dd7.tar.gz
zig-54255ee32e1e6c83b04c3e5f2f1dd7e8aa5e0dd7.zip
autohash: force inlining of integer hashing so that the optimizer can see the fast path based on key's size which is known at comptime
otherwise it will always outline the call to hasher.update, resulting in much worse performance
Diffstat (limited to 'src/codegen.cpp')
0 files changed, 0 insertions, 0 deletions