1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-04-21 18:02:37 -04:00
alacritty/tests
Christian Duerr 8d3497ba3e Improve storage comparison algorithm
Instead of iterating over the raw storage vector because the offsets
don't allow direct comparison, the comparison is now done in chunks.
Based on benchmarking this is a lot more efficient than using split_off
+ append or iterating over the elements of the buffer.

The `history_size` field has also been removed from the storage
structure because it can be easily calculated by substracting the number
of visible lines from the length of the raw storage vector.
2018-05-14 09:50:12 -07:00
..
ref Reduce size of ref tests 2018-05-14 09:50:12 -07:00
ref.rs Improve storage comparison algorithm 2018-05-14 09:50:12 -07:00