Skip to content

v1.1.3

Choose a tag to compare

@davidesantangelo davidesantangelo released this 04 Dec 08:16
· 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_CURRENCIES array 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