BBS: TELESC.NET.BR Assunto: src/conio/bitmap_con.c De: Deuc¨ Data: Tue, 17 Mar 2026 00:41:05 -0700 ----------------------------------------------------------- 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)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]