4 ms·
Yea that's a good point. This matters when your derived data takes linear time to recompute. There are still techniques to make this work (but not automatically
by fyp 7y ago
Yea that's a good point. This matters when your derived data takes linear time to recompute. There are still techniques to make this work (but not automatically afaik). For example it's easy to make them efficient again if your computation is just an associative fold or reversible fold: https://sci-hub.tw/https://link.springer.com/chapter/10.1007/978-3-642-39038-8_29 https://sci-hub.tw/https://link.springer.com/chapter/10.1007...
- repsilat 7y agoThat article talks about map and filter and fold, but I think there are also (trickier) ways to make joins and sorts work as well. I think it could be a great technique for a lot of things -- compilers and database views, in addition to front-end state.