diff options
author | Christian Duerr <contact@christianduerr.com> | 2018-05-01 20:07:59 +0200 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-06-02 09:56:50 -0700 |
commit | eabd6bb95b1ab883bdec16f8c307432c1e7c73d5 (patch) | |
tree | 97e775b91917011973aaf48a1929f02559ead64b /tests/ref/vim_large_window_scroll | |
parent | a3c6c1db63af8dea62146739dc183c05b26b56d6 (diff) | |
download | r-alacritty-eabd6bb95b1ab883bdec16f8c307432c1e7c73d5.tar.gz r-alacritty-eabd6bb95b1ab883bdec16f8c307432c1e7c73d5.tar.bz2 r-alacritty-eabd6bb95b1ab883bdec16f8c307432c1e7c73d5.zip |
Remove `push` from `Storage`
Since every line is allocated at startup anyways, the `push` method on
`Storage` has been removed and instead of pushing to the vector the
initialization has been moved to the `with_capacity` method.
This has the advantage that we don't need to keep track of the `len` in
push (like adding one), but we just need to worry about
growing/shrinking the visible area.
Diffstat (limited to 'tests/ref/vim_large_window_scroll')
0 files changed, 0 insertions, 0 deletions