Introduction
In boreDOM 0.10.0, the new memoized module is nearly complete. With blazing fast performance from caching, boreDOM easily beats frameworks like React and Angular. A new diff algorithm runs in linear time, relying on simple and fast string comparisons powered by the data to DOM mirroring system instead of using slow DOM calls.
Features
- Revolutionary new diff system in the
memoized
module- Sanitizes nodes for faster iteration
- Uses data to DOM mirroring with a diff algorithm for speed
- Fully caches groups of DOM nodes used in diff for performance
- Over twice as fast large diffs, even faster on small diffs
- Optimized cache for speed, using
WeakMap
to stop memory leaks
Future
- Stabilized API for
memoized
module to prepare for releasing version 1.0.0 - Fully documented and tested
memoized
module - Further optimizations on rendering performance
- Add recursive templating system to improve performance and diff accuracy