Hacker News new | ask | show | jobs
by dcomp 1826 days ago
Regarding caching and memoisation. Isn't the main benefit memory usage saving. I wonder if it's possible to do parsing for speed and then background deduplication for memory savings. (I don't know what the status is of multithreading in js or wasm)
1 comments

Huh? Caching is explicitly about extracting time savings at the cost of increased memory usage. Did I read your comment wrong?