powerbot/RSBot-API — pull request #404 by BTOdell (2012-06-29 23:26:27+00:00)
Title: Why so much optimization? ;)

I don't know why this method has been revised so much recently, but this is how the method should really be written if you want speed.
This doesn't even iterate over the middle, while the previous ones did.