Re:How to Pass a Programming Interview
by b1449835 on Wednesday March 09, 2016 @02:23AM
(#11251416)
Oh shit, my code is O(1), looking at it in the profiler tells me that it's not a bottleneck (it says < 5ms). Yet this single function call somehow takes 78ms in wall time when it should at worst be 1ms (and even that is too much). The reason? JVM classloading/JITing. This quite annoying when you have shortlived applications.
[ Parent
| on HN ]
There are no comments on this comment yet.