aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-10-21 16:46:33 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-10-21 16:46:33 -0400
commitc1642355f0b05f182c0b6d81d294d12be79ad0a8 (patch)
tree350987257f118c809dc3bca09c02331c537504c8 /src/codegen.cpp
parenta1af7cbf007f61e8fea06e1497b93c05bd989e74 (diff)
downloadzig-c1642355f0b05f182c0b6d81d294d12be79ad0a8.tar.gz
zig-c1642355f0b05f182c0b6d81d294d12be79ad0a8.zip
parse-c: improve performance
previously we did linear search to find existing global declarations; now we index using a hash map. building tetris went from taking 5.3 sec to 0.76 sec
Diffstat (limited to 'src/codegen.cpp')
0 files changed, 0 insertions, 0 deletions