Hacker News new | ask | show | jobs
by TheAceOfHearts 3278 days ago
Last time I tried Proxies, their performance wasn't very good. It would be great to see a few benchmarks.

What advantages would this give you over using persistent data structures [0] with memoized selectors? When using immutable data structures, you can shift the responsibility of providing updates up to the caller. In my experience, that usually means code that's easier to debug and test.

[0] https://en.wikipedia.org/wiki/Persistent_data_structure

2 comments

Here you can see some bench results comparing the most popular reactive javascript libs https://github.com/GianlucaGuarini/reactive-libs-bench icaro included
Why is icaro so much more performance? It's two orders of magnitude faster than the other frameworks if I'm reading the results correctly.
please check the readme file https://github.com/GianlucaGuarini/icaro#performance there it's explained
Could you elaborate on the perf issues? You mean synthetic tests, right?