From f4fb198af313a3a30400ba1a51e0f0425b1da0ca Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 16 Sep 2020 15:46:36 -0700 Subject: 6790 experiment: explicit flush tile is already visibly slow (49x212 screen) :/ So programmer needs more control over performance. But this may not be the right approach. That extra flush-stdout in tui.mu suggests it's either going to be finicky, or we have to flush on every attribute change. And going through a buffered-file may be slower. May. --- apps/tile/main.mu | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/tile/main.mu') diff --git a/apps/tile/main.mu b/apps/tile/main.mu index 7c7065fc..a9d62bb4 100644 --- a/apps/tile/main.mu +++ b/apps/tile/main.mu @@ -75,4 +75,5 @@ fn render screen: (addr screen), buf: (addr gap-buffer) { move-cursor screen, start-row, start-col # render-gap-buffer screen, buf + flush-stdout } -- cgit 1.4.1-2-gfad0