summarum/src/ui
Horizontal42 22302b57cc
perf: defer document string split allocation in numeric search (#104)
In `src/ui/search.ts`, numeric threshold searches previously called `doc.text.split("\n")` eagerly on every open document. This commit changes `lines` to be lazily allocated only if an actual numeric search match is found, eliminating unnecessary memory allocations and loop overhead on documents that do not match.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-08-19 16:35:26 +03:00
..
app.css Fix CSP vulnerability by removing unsafe-inline for styles 2026-08-14 13:39:06 +03:00
editor.ts ⚡ [perf: avoid expensive doc stringification for autocomplete] (#102) 2026-08-19 16:35:21 +03:00
export.test.ts test(export): add unit tests for canvas image export functionality 2026-08-14 13:39:05 +03:00
export.ts fix arbitrary file write via write_text_file/write_image_file 2026-07-08 15:50:13 +03:00
search.test.ts Add unit tests for searchAllSheets function 2026-08-14 13:39:07 +03:00
search.ts perf: defer document string split allocation in numeric search (#104) 2026-08-19 16:35:26 +03:00
sparkline.test.ts test: Add missing test file for UI sparkline component 2026-08-14 13:39:05 +03:00
sparkline.ts extract sparkline SVG rendering into its own module 2026-08-09 15:57:22 +03:00