News for hackers. Stuff that matters.
Re:The tragedy of 100% code coverage (2016) by ubernostrum on Tuesday May 09, 2017 @09:56PM (#14305386)
Depends on the machine. See the comments in the file:

https://github.com/ubernostrum/webcolors/blob/master/tests/f...

The fun part is people who criticize the generation of the integer triplets; yes, it's three nested loops and that's bad, but the total number of iterations will always be 16,777,216 no matter what algorithm you decide to use to generate them. So it uses nested loops since that's the most readable way to do it.

There are no comments on this comment yet.