A week of my career was just spent fixing a crash that only happened after my code ran for &gt;24h.

Turned out to be a directory existence check that's O(n) time and O(n) memory for a directory with n files in it.

And people wonder why I don't trust widely-used libraries.