js-framework-benchmark icon indicating copy to clipboard operation
js-framework-benchmark copied to clipboard

New non-keyed VanillaJS implementation

Open lxsmnsyc opened this issue 2 years ago • 0 comments

Mentioned at https://github.com/krausest/js-framework-benchmark/issues/936#issuecomment-918080302

Implementation details

  • Unlike vanillajs and vanillajs-1, this implementation assumes that the store and the UI are synchronized, instead of deriving UI from the store. This makes sure that it can skip a lot of unnecessary runs that were happening from the previous implementations (for instance, delete row)
  • There could be some potential optimizations. In most parts it can be slower than vanillajs, it's just that the average score of the implementation is, most of the time, a lot better than the predecessors.

lxsmnsyc avatar Oct 04 '21 04:10 lxsmnsyc