> At some point, execution speed starts to matter more than the elegance of the code.
Yeah, when your code runs on more than one machine, more than once. Then it's worth it to spend some time to make it actually good. RAM usage also matters.