mozilla/rust — pull request #7475 by Seldaek (2013-06-29 02:58:12+00:00)
Title: Optimize str::each_split_within when it is called with large limits

I almost got locked out of my machine because I misunderstood the purpose of the function and called it with a limit of uint::max_value, which turned this function into an almost endless loop.