banan-os/userspace/programs/Terminal
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
..
CMakeLists.txt BuildSystem: Cleanup cmake files 2024-09-05 12:52:25 +03:00
Terminal.cpp Terminal: Optimize printing a lot 2024-09-15 03:12:26 +03:00
Terminal.h Terminal: Optimize printing a lot 2024-09-15 03:12:26 +03:00
main.cpp BuildSystem: Cleanup userspace directory layout 2024-07-03 09:18:02 +03:00