mirror of
https://github.com/RasppleII/a2server.git
synced 2025-01-18 11:29:46 +00:00
530b8d57f5
Ivan writes pretty dense scripts in some ways, but not others. Mostly he likes to collapse statements to a single line and using && and || in place of if constructs. Reduces file size and theoretically speeds execution, but it makes community development tougher and the speed gains are questionable. I've begun removing multiple successive writes to a single file such as those using tee as a means to write files as root. Clean up enough of those and you will have a noticable performance impact, although again there's no evidence there are enough of them here to see one. Removed a few dead/commented code blocks and restructured a couple of conditionals to make the no-action condition the else case. Finally, bumped the version. This isn't all that'll go into 1.5.1 but it's a start.