diff options
| author | Igor Anić <igor.anic@gmail.com> | 2024-03-13 18:22:08 +0100 |
|---|---|---|
| committer | Igor Anić <igor.anic@gmail.com> | 2024-03-13 18:22:08 +0100 |
| commit | a21f9b6d8b9b027e64795dcdec40494bad76675e (patch) | |
| tree | 7e4e28e59005ba7b09e4e9ba5a3935f1e1a1dc70 /lib/std/math.zig | |
| parent | b9cca3b63dbcedadbda1c884e5b3333c8458b30d (diff) | |
| download | zig-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
