aboutsummaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-10-30 18:45:11 -0700
committerRose Hogenson <rosehogenson@posteo.net>2025-10-30 18:50:19 -0700
commitaa8a935f620a053cc9c3c65587b433f3e8d3a6e9 (patch)
treea786b3174c1a901f19fc10485c4856d60ef93d6b /go.mod
parentDon't allocate an intermediate map[string]any (diff)
downloadccl-aa8a935f620a053cc9c3c65587b433f3e8d3a6e9.tar.zst
Use a classic struct iterator instead of iter.Pull
iter.Pull doesn't provide much value here. Actually the lexer is probably simpler this way, and iter.Pull also destroys stack traces for panics in the lexer. Ouch goos: linux goarch: amd64 pkg: roseh.moe/pkg/ccl cpu: AMD Ryzen 9 5900X 12-Core Processor │ baseline.txt │ itern't.txt │ │ sec/op │ sec/op vs base │ Lex-24 1.436µ ± 0% 1.320µ ± 0% -8.05% (p=0.000 n=20) Parse-24 7.846µ ± 0% 4.801µ ± 0% -38.82% (p=0.000 n=20) geomean 3.356µ 2.517µ -24.99%
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions