4 ms·
It is actually quite trivial. You simply align function running time to the worst case _so far_. Start with 0, put it through a warm-up cycle and use it to set
by eps 12y ago
It is actually quite trivial.
You simply align function running time to the worst case _so far_. Start with 0, put it through a warm-up cycle and use it to set a reasonable default. Cache the value between app's sessions, re-initialize when changing the setup.