aboutsummaryrefslogtreecommitdiff
path: root/src/stage1
diff options
context:
space:
mode:
authorArnavion <me@arnavion.dev>2021-12-22 16:48:46 -0800
committerAndrew Kelley <andrew@ziglang.org>2022-02-07 14:58:07 -0500
commit2a415a033cce07b579a490eca2556e7d700c04b1 (patch)
tree5c51516a4bcb9a227cbcd7a1bf736085472af866 /src/stage1
parent8a94971980001d29d7c8cdfe6ca25aa834552405 (diff)
downloadzig-2a415a033cce07b579a490eca2556e7d700c04b1.tar.gz
zig-2a415a033cce07b579a490eca2556e7d700c04b1.zip
std.bit_set: add setRangeValue(Range, bool)
For large ranges, this is faster than having the caller call setValue() for each index in the range. Masks wholly covered by the range can be set to the new mask value in one go, and the two masks at either end that are partially covered can each set the covered range of bits in one go.
Diffstat (limited to 'src/stage1')
0 files changed, 0 insertions, 0 deletions