-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Excessive garbage buildup #103
Comments
This string should be cached in |
Thank you! I'll work on this one |
After looking at the code in more detail I realize it's going to be a bit more complicated. This part should use |
Great! I'll use your test as a reference as well |
Closed? What about the rest of the code, lol |
I thought it was the PR closed. My bad. |
|
FYI: I will stop contributing to any love2d related project, including this one. You can say thanks to slime for this. His inability to handle criticism, and him being a shitty person in general made me quit this community. Can you undo all my commits to this project? I don't want to be part of it anymore. |
Ohhh sad to hear this. I'll take it from here then, thank you for the contributions.
|
Save the effort and leave them be, it's not important. I overreacted a little bit. No need to generate more work for you - no one would benefit from it. |
Sadly i already did a lot of work undoing them |
Parts of the code use temporary tables and string concatenation in every frame. This leads to huge buildup of garbage, sometimes megabytes per second.
As a first step to improve this, the use of temporary tables should be minimized. Example
This should say
where EMPTY is a static, constant table that exists only once.
The text was updated successfully, but these errors were encountered: