diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-05-20 17:39:54 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-05-20 17:39:54 -0400 |
| commit | 7c2c0e36f8378d8efaf64d859bdffb91007db82a (patch) | |
| tree | a8335099205f30d5bf9b4478ee9d73824b2f0abf /src/ir.cpp | |
| parent | 5db9f306ba88087d269dc5fe5672a5af5ab55333 (diff) | |
| download | zig-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/ir.cpp')
0 files changed, 0 insertions, 0 deletions
