godot-kotlin-jvm icon indicating copy to clipboard operation
godot-kotlin-jvm copied to clipboard

Simplify GC leveraging `objectID` and `validatorCount`

Open chippmann opened this issue 3 years ago • 0 comments

Godot 4 introduced a more sophisticated objectID containing many informations about an object. Such as a bit flag for it it's a reference, or a pointer to a slot object containing usefule information for us such as the actual pointer to the object and a validatorCount for the object index.

With this new information and the changes in https://github.com/utopia-rise/godot-kotlin-jvm/issues/306, we should be able to greatly simplify the GC code.

chippmann avatar Mar 13 '22 11:03 chippmann