Bananymous
c3040a04a3
Terminal: Optimize printing a lot
...
Terminal used to run `yes` at around 400 lines per second
This patch pumps that to over 100'000 lines per second!
There are 2 optimizations done:
1. only invalidate window once after rendering is done
2. if printing more than `rows()` newlines skip prior data
2024-09-15 03:12:26 +03:00
..
2024-08-09 15:58:56 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-09-11 19:30:35 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-09-11 22:11:05 +03:00
2024-08-01 22:56:26 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-16 15:05:07 +03:00
2024-07-03 09:18:02 +03:00
2024-09-14 22:45:48 +03:00
2024-07-03 09:18:02 +03:00
2024-08-16 17:36:37 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-09-15 03:12:26 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-07-03 09:18:02 +03:00
2024-09-12 20:09:23 +03:00
2024-07-03 09:18:02 +03:00
2024-09-05 12:58:21 +03:00
2024-07-21 17:41:40 +03:00