oy/teeworlds — Issue #885: Add faster way of inverting the sorted serverlist
Author: KillaBilla
Created: 2011-11-04 23:00:12+00:00
State: open

It's faster to return the opp. value if the sort order is inverted, instead of going through half of the items again.
I'm not very experienced with github, and I don't know how to commit a patch, so I'll just give you the link to the commit in my forked version, hope that works:
https://github.com/KillaBilla/teeworlds/commit/fcb89facce0cc779acee4934b870632f1e4e0c25