4 ms·
> I believe the majority of code is slow because it's written without any consideration at all to performance. That can both be correct. I use a std. data stru
by raxxorrax 5y ago
> I believe the majority of code is slow because it's written without any consideration at all to performance.
That can both be correct. I use a std. data structures for many things even if some prefix tree might be better for the operations I perform on a set. I don't think about that in most cases since computing power is cheaper than the additional work. If performance becomes a problem, I can optimize later.
Advent of Code isn't a realistic performance metric. Working software is for most software projects.