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 |
db77105 to
49d88d6
Compare
bb5eb9d to
9e8cdce
Compare
|
|
Disliked my old attempt- so I'll restart and just try to implement the 3.0 GC |
I would almost bet I'm gonna break something with this




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