Minecraft Multi Server Wrapper Written in Python with Twisted; Pull Requests HIGHLY Encouraged, Collaborators Needed Discord: https://discord.gg/zymJygHNpv
Other
208
stars
44
forks
source link
Re-arrange imports in launcher code to reduce command execution time #156
At the moment, the launcher code imports a lot of modules before it even parses your command. This causes mark2 to sometimes take ages to execute even the most arbitrary command to execute.
The solution
Localize imports to each command. Only import required modules when you execute that command so that it feels snappy when executing mark2 commands.
Currently this is a low priority, but it's on the roadmap
The problem
At the moment, the launcher code imports a lot of modules before it even parses your command. This causes mark2 to sometimes take ages to execute even the most arbitrary command to execute.
The solution
Localize imports to each command. Only import required modules when you execute that command so that it feels snappy when executing mark2 commands.
Currently this is a low priority, but it's on the roadmap