Pixel-perfect variable-height virtualization
Title | Excerpt | Author | Category | Words | Status |
|---|---|---|---|---|---|
Measures every glyph width via Canvas API. One-time cost per unique text+font combo. Cached across cells.
Pure arithmetic. Given column width, returns exact pixel height. ~0.0003ms per cell. 50k cells in 15ms.
Pre-computed cumulative heights enable O(log n) scroll position lookup. Instant scrollTo for any row.