-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize with OOP #70
Comments
I would recommend restructuring only parts where issues have been identified and make some core components modular (one by one, not through single PR that rewrites whole thing). |
what does OOP have to do w/ performance, even theoretically? |
Theoretically nothing. Practically it depends on decisions. Either better, worse or same but it has more to do with decisions. For machine code there's no difference really, theoretically you can generate exact same result with any programming model. It is more about how developers manage things. By really messed up I mean there's been a lot of duplicate code, user interface mixed up with data operations and even data operations somewhat mixed up with storage back end. If you need to update data operations you have to go through code that is primarily meant to handle user interface and you cannot just change data operations logic. |
Rewrite the whole code using OOP, to optimize performances (reduce lags, etc).
The text was updated successfully, but these errors were encountered: