Skip to content

0.5.67.2

Latest

Choose a tag to compare

@andyholst andyholst released this 31 Aug 01:30
· 1 commit to master since this release

Updated Query for Performance & Memory Efficiency

Reason: Improved performance and memory usage on devices with low
memory, such as laptops and Android devices, to lower the risk for
hickups and crashes when representing Markdown data.

  • Removed unnecessary deep copies of rows and objects, reducing memory usage.

  • Optimized sorting logic to minimize redundant evaluations and improve performance.

  • Added early exits upon error detection to prevent unnecessary processing.

  • Combined multi-pass operations into single-pass iterations where possible.

  • Streamlined grouping and flattening operations to avoid large intermediate data structures.

  • Reduced redundant object creation and consolidated type checks for efficiency.

  • Simplified object creation and minimized the use of temporary data structures.

  • @andyholst: Refactored engine.ts to increase performance and lower memory footprint