4 ms·
Why do you think this is blind optimization? When do you think an optimization like this would be appropriate? Can you give an example of a performance optimiza
by egonschiele 13y ago
Why do you think this is blind optimization? When do you think an optimization like this would be appropriate? Can you give an example of a performance optimization you have made recently?
- jasonlotito 13y ago> Why do you think this is blind optimization? Because it is. It's a clear case of premature optimization. Especially since nothing was offered up to to suggest otherwise. > When do you think an optimization like this would be appropriate? When it's being reported back that it's one of the top bottlenecks. Before that, it's mostly a educational trip. It's great to learn how to write optimized code, but, frankly, removing empty function calls isn't an optimization. > Can you give an example of a performance optimization you have made recently? Eliminating the need for excessive memcache calls by not only changing the objects being called, but also by eliminating the need to make the calls in the first place by intelligently using existing locally cached… cache. If that makes sense. Anyways, that improved performance by ~20ms. It wasn't the slowest call running, but it was the slowest call running that could be optimized at this point.