about summary refs log tree commit diff stats
path: root/archive/1.vm/022arithmetic.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-12 17:33:51 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-12 17:40:53 -0700
commit9b5b3bccd188af4dd76d9e177652ddc727357ebe (patch)
tree3d3710416a1622f6750b557d6354e6ce25df1a92 /archive/1.vm/022arithmetic.cc
parent286819685e13e4651b3e6212d6b59562b291b791 (diff)
downloadmu-9b5b3bccd188af4dd76d9e177652ddc727357ebe.tar.gz
trying to eliminate flicker when rendering screen
Two interesting things:
- We don't really need double-buffering for rendering the screen on the
  sandbox as a progress indicator. Everything else is untouched, and render-screen
  should be doing that as well.

- Rendering just pixels of the fake screen is buttery smooth. It's the
  _graphemes_ that are slowing things down. Even though there's so many
  fewer of them!

As a result, drawing the fake screen less frequently in `evaluate` doesn't
actually help with flicker. Even though it'll make the debug cycle shorter.
So my current plan is to attack flicker in isolation before I mess with
the render frequency.

In this commit I optimized away the cursor handling. Still doesn't seem
to be helping. In fact it actually seems _worse_.
Diffstat (limited to 'archive/1.vm/022arithmetic.cc')
0 files changed, 0 insertions, 0 deletions