Code review comment for lp:~widelands-dev/widelands/bug-1380287

Revision history for this message
GunChleoc (gunchleoc) wrote :

I forgot that in this direction, it is better to use a switch statement. Something I learned from SirVer - the code will run faster, because it just jumps using the variable as an address instead of making a full comparison.

« Back to merge proposal