v1.1.3
·
12 commits
to master
since this release
Performance Improvements
- Optimized tab rendering: Replaced O(n)
Array.find()lookups with O(1)Map.get()for faster tab bar rendering, especially noticeable with many notes open - Hoisted currency highlighting constants: Moved
HIGHLIGHT_CURRENCIESarray and regex to module scope, eliminating redundant object creation on every keystroke - Event delegation for results: Replaced per-item click listeners with a single delegated event handler on the results container, reducing memory allocations and preventing listener accumulation
Code Quality
- Reduced garbage collection pressure during typing and result rendering
- Improved memory efficiency when switching between notes
- Cleaner event listener management following modern JavaScript best practices