Subj : src/conio/bitmap_con.c To : Git commit to main/sbbs/master From : Deuc¨ Date : Tue Mar 17 2026 00:41:05 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) --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .