3 ms·
> Optimizing for speed usually causes increased memory consumption, Lol, no? If your benchmark is memory bound, reducing memory usage is probably the simplest
by ggreg84 5y ago
> Optimizing for speed usually causes increased memory consumption,
Lol, no?
If your benchmark is memory bound, reducing memory usage is probably the simplest way to make it faster.
- rat9988 5y agoHe is right though. Chrome isn't memory bound... yet.
- ggreg84 5y agoDo you have a reference?
- viraptor 5y agoThere are some truly memory-bound problems, but I believe the parent comment is correct on average. A lot of common speed issues can be helped by: adding a cache, adding an extra lookup index, memoising calculated values, adding a new denormalised data projection, etc. I think "usually" was a fair description.