aboutsummaryrefslogtreecommitdiff
path: root/lib/std/testing.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-05-21 21:48:01 -0400
committerAndrew Kelley <andrew@ziglang.org>2020-05-21 22:01:16 -0400
commitd37b81d43bc52daa94dd1ad1631018ea0cd11f77 (patch)
tree349db74ec5b830aabfe5d36ffd3acc182ed73a0d /lib/std/testing.zig
parent32ecb416f3acc49b80268711562f2c4133a828b9 (diff)
downloadzig-d37b81d43bc52daa94dd1ad1631018ea0cd11f77.tar.gz
zig-d37b81d43bc52daa94dd1ad1631018ea0cd11f77.zip
stage2 parser performance/API improvements
* Extract Call ast node tag out of SuffixOp; parameters go in memory after Call. * Demote AsmInput and AsmOutput from AST nodes to structs inside the Asm node. * The following ast nodes get their sub-node lists directly following them in memory: - ErrorSetDecl - Switch - BuiltinCall * ast.Node.Asm gets slices for inputs, outputs, clobbers instead of singly linked lists Performance changes: throughput: 72.7 MiB/s => 74.0 MiB/s maxrss: 72 KB => 69 KB (nice)
Diffstat (limited to 'lib/std/testing.zig')
0 files changed, 0 insertions, 0 deletions