by ckok · 6y ago · 0 comments
Name string
Rc int
Crc int
Color string
Buffered bool
Children []*Object
Freed bool
isAcyclic bool
as those seem to have quite a bit of overhead for an object.There are a plenty of steps to make it into usable gc.
But the threadsafe one does have a lot of raw edges, and I couldn't get that one working.
I think assemblyscript has implemented it. Something you might be interested to explore