https://gitlab.synchro.net/main/sbbs/-/commit/e0b825c458da099f74f1fc6d
Modified Files:
src/conio/bitmap_con.c
Log Message:
Pre-compute Prestel double-height row states once per frame
calc_charstate() was scanning all rows 0..ypos-1 for every cell to
determine top/bottom double-height status, making full redraws
O(rows^2 * cols). Pre-compute the row state array once in
update_from_vmem() and pass it through the call chain. Callers from bitmap_setpixel/setpixels pass NULL to retain the existing per-cell
scan (always single-cell, so the old path is fine).
Co-Authored-By: Claude Opus 4.6 (1M context) <
noreply@anthropic.com>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)