Back to Pull RequestsView on GitHub
#471Open
Moderate Review
perf(text-buffer-view): stream word wrap for large chunks
by simonklee•Jan 4, 2026
Summary
This PR optimizes word wrapping for large text chunks in the `text-buffer-view` component. It introduces a streaming approach for chunks exceeding 64KB, improving performance by only computing word boundaries as needed instead of precomputing for the entire file.
Changes
+622 additions-136 deletions
Impact Areas
Text Rendering PerformanceLarge File HandlingWord Wrapping Logic