Hacker News new | ask | show | jobs
by marginalia_nu 1492 days ago
Dunno, it's not unheard of for a program to do the same thing over and over again, sometimes millions of times. Every slow program consists of a bunch of individually fast instructions.
1 comments

If your hot loop is doing configuration setup then your code has bigger problems than this particular pattern.
You could also be configuring many things.
Indeed, but you should probably do that right before looping
Right, but if you needed to configure a million different things, wouldn't you also loop the configuration process?