-
-
Notifications
You must be signed in to change notification settings - Fork 18
luajit: new gc #97
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
base: main
Are you sure you want to change the base?
luajit: new gc #97
Conversation
3c6136a to
d279f42
Compare
|
What improvements new gc brings? Can it fix Vectors and Angles not being cleaned up if you create tons of them? |
iirc they are cleaned up, though not instantly or is there an existing memory leak with them? |
822fda3 to
341d27f
Compare
|
|
Huh, totally forgot about that |
6ab921e to
b25b5f9
Compare
e20e54f to
3fecb14
Compare
ff61989 to
b0f250a
Compare
|
f48deb2 to
5b6f379
Compare




WIP
The current idea:
Implement a reference counter used for gc instead of using tri-color.
Though this means to basically go through every piece of code that uses TValue or a GC object and check/adjust it as having a reference leak would be chaos.
I may change the entire approach later, as it does seem utterly painful/difficult to do, just gonna try different things and see
ToDo:
Always open for ideas/feedback though remember, this is still wip and in its early stages