aboutsummaryrefslogtreecommitdiff
path: root/lib/std/bounded_array.zig
diff options
context:
space:
mode:
authorMarc Tiehuis <marc@tiehu.is>2021-10-11 17:17:53 +1300
committerAndrew Kelley <andrew@ziglang.org>2021-11-16 16:33:56 -0500
commitdcd88ae568a1e9c0315b39801c9ca124e0e9aefc (patch)
treee9abd9ed1985287aed82d880fa3e3e1744958118 /lib/std/bounded_array.zig
parentc587be78d7509e81a56c122eb02d19a8d2c5174e (diff)
downloadzig-dcd88ae568a1e9c0315b39801c9ca124e0e9aefc.tar.gz
zig-dcd88ae568a1e9c0315b39801c9ca124e0e9aefc.zip
std/json: use bit-stack for nesting instead of large LLVM integer type
The stack has been adjusted so that instead of pushing to index 0 in the integer we push to the current end/index of the underlying integer. This means we don't require a shift for every limb after each push/pop and instead only require a mask/or and add/sub on a single element of the array. Fixes #5959.
Diffstat (limited to 'lib/std/bounded_array.zig')
0 files changed, 0 insertions, 0 deletions