ParadigmMC / mcman

Powerful Minecraft Server Manager CLI. Easily install jars (server, plugins & mods) and write config files. Docker and git support included.
GNU General Public License v3.0
131 stars 11 forks source link

[perf,refactor,style]: performance improvements and large-scale code cleanup #55

Closed null8626 closed 5 months ago

null8626 commented 5 months ago

the following pull request lessens the codebase's reliance on .clone(), .to_string(), .to_owned(), etc. (in particular the SelectItem struct, IndexMap struct usage, and several other enum properties)

other than that, i also made the code slightly squeeky cleaner :)

TheAlan404 commented 5 months ago

LGTM 👍