aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
diff options
context:
space:
mode:
authorIgor Anić <igor.anic@gmail.com>2024-03-13 18:22:08 +0100
committerIgor Anić <igor.anic@gmail.com>2024-03-13 18:22:08 +0100
commita21f9b6d8b9b027e64795dcdec40494bad76675e (patch)
tree7e4e28e59005ba7b09e4e9ba5a3935f1e1a1dc70 /lib/std/math.zig
parentb9cca3b63dbcedadbda1c884e5b3333c8458b30d (diff)
downloadzig-a21f9b6d8b9b027e64795dcdec40494bad76675e.tar.gz
zig-a21f9b6d8b9b027e64795dcdec40494bad76675e.zip
compress.xz: remove copyForwards from tight loop
In the example from the issue #19052 to_read holds 213_315_584 uncompressed bytes. Calling read with small output results in many shifts of that big buffer. This removes need to shift to_read after each read.
Diffstat (limited to 'lib/std/math.zig')
0 files changed, 0 insertions, 0 deletions