cheahjs / TerrariaAPI-Server

Fork is now over at https://github.com/NyxStudios/TerrariaAPI-Server
https://tshock.co
32 stars 24 forks source link

Efficiency Updates #3

Closed Deanthelis closed 12 years ago

Deanthelis commented 12 years ago

Serves same purpose, easier to look at & more efficient. Chest.cs: Replaced if/else with switch. CombatText.cs: Replaced inefficient for loop with more efficient recursion method. Previous method is commented out, not deleted.

Olink commented 12 years ago

Uhhh, thats fine and great, but we arent going to change this at this time it would make updating more difficult down the road. But I'll let someone else make the final decision.