Xteink-X4-crosspoint-reader/lib/Epub
Martin Brook 9b40d1cb32 perf: optimize PNG decoder with line-based conversion and integer scaling
Two optimizations that provide ~2.4x speedup:

1. Line-based grayscale conversion: process entire source row sequentially
   before sampling, improving cache locality and reducing function call
   overhead

2. Bresenham-style integer stepping: replace per-pixel floating-point
   division with integer accumulator for nearest-neighbor scaling

Benchmark results (ESP32-C3, 8-bit indexed PNGs):
- Scale 1.0 images: ~2.7x faster
- Scaled images: ~1.9x faster
- Total render time: 4060ms -> 1705ms
2026-02-03 18:54:41 +00:00
..
Epub perf: optimize PNG decoder with line-based conversion and integer scaling 2026-02-03 18:54:41 +00:00
Epub.cpp perf: optimize large EPUB indexing from O(n^2) to O(n) (#458) 2026-01-28 01:29:15 +11:00
Epub.h feat: dict based Hyphenation (#305) 2026-01-19 12:56:26 +00:00