BBS:      TELESC.NET.BR
Assunto:  src/conio/scale.c
De:       Deuc¨
Data:     Sun, 15 Mar 2026 16:01:53 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/6c02f7d0b797a45eefde6016
Modified Files:
	src/conio/scale.c
Log Message:
Optimize multiply_scale() with row memcpy for duplicate rows

Instead of re-reading source pixels and rewriting each output row
ymult times, write the first row then memcpy it for the remaining
duplicates. For common scaling factors (e.g. 4x), this eliminates
75% of the inner loop work and leverages SIMD-optimized memcpy.

Co-Authored-By: Claude Opus 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]