seisatsu / DennisMUD

Dennis MUD - A multiplayer text adventure sandbox engine where the players build the world with in-game commands.
https://dennismud.xyz/
MIT License
47 stars 6 forks source link

Use tuples instead of lists where appropriate. #69

Closed seisatsu closed 4 years ago

seisatsu commented 4 years ago

Tuples are generally faster than lists, but they can't be used if the list will need to be modified, and it's also difficult to pass them as arguments to functions sometimes.

seisatsu commented 4 years ago

Not worth the extra work. The performance gains are irrelevant for an application of this type, and it would decrease readability as well.