aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-05-20 17:39:54 -0400
committerAndrew Kelley <andrew@ziglang.org>2020-05-20 17:39:54 -0400
commit7c2c0e36f8378d8efaf64d859bdffb91007db82a (patch)
treea8335099205f30d5bf9b4478ee9d73824b2f0abf /src/analyze.cpp
parent5db9f306ba88087d269dc5fe5672a5af5ab55333 (diff)
downloadzig-7c2c0e36f8378d8efaf64d859bdffb91007db82a.tar.gz
zig-7c2c0e36f8378d8efaf64d859bdffb91007db82a.zip
stage2 parser: different memory layout of ParamDecl
Instead of being its own node, it's a struct inside FnProto. Instead of FnProto having a SinglyLinkedList of ParamDecl nodes, ParamDecls are appended directly in memory after the FnProto. throughput: 72.2 MiB/s => 72.9 MiB/s maxrss: 70 KB => 68 KB Importantly, the API is improved as well since the data is arranged linearly in memory.
Diffstat (limited to 'src/analyze.cpp')
0 files changed, 0 insertions, 0 deletions