4 ms·
I think with modern processor architectures there are some edge cases where you can shuffle calls around, keep the same runtime complexity, but have things go f
by creatornator 9y ago
I think with modern processor architectures there are some edge cases where you can shuffle calls around, keep the same runtime complexity, but have things go faster. For example, moving a conditional outside an inner loop function call to inside the function can cause the entire function to be loaded into cache, decreasing runtime.