mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-10 17:12:55 +02:00
This makes Terminal::scroll_up() O(1) instead of O(n) in the size of the history. (It's still O(n) in the size of visible lines.) Reduces time to run `disasm /bin/id` with the default terminal window size from 530ms to 409ms (min-of-5) on my system.
30 KiB
30 KiB