In the video Context is Everything by Andreas Fredriksson (Vimeo), the author pinpoints that a dependency in his app—a JSON-handling library—is sucking all the performance out of it.
So, he takes a look at it.
It’s a general-purpose library, with a lot of edge cases…edge cases that his input data doesn’t have. That is, if he can guarantee a certain context, then he can use an optimized version of the JSON library’s code. This isn’t always going to be the solution—it will, in fact, rarely be the solution for a LOB... [More]