4 ms·
Even if somebody put such a thing, or two, in the standard library there would be again someone showing that they managed to come up with a better solution. For
by menaerus 3y ago
Even if somebody put such a thing, or two, in the standard library there would be again someone showing that they managed to come up with a better solution. For their workload. And under constraints that are only valid under their use-case and constraints that only they would know. Not standard library developers. And that's the thing - the premise that "one size fits all" even exists is wrong. I used to think that way as well but generic solutions to high-performance algorithms do not really exist.