That's definitely not boring, and also awesome. Like I said, sometimes you find a clever hack. But if I saw that code in a code review, it would be a huge red flag for me. I'd want to see a pretty good justification for using it instead of a more standard algorithm. (It happens to be in this case that there IS a good justification).