Open VisualGMQ opened 4 months ago
Currently handle system is hard to use. I assume to use DataPool to replace it and rewrite handle system.
DataPool
DataPool will create/allocate any type of element(not only assets), reuse them, and auto-recycle them.
new handle system is based on DataPool, it access data from pool, check object validation.
now old handle system replaced with data pool and new handle system in 47ede1fae746fab1e05109eb6e93fcab161fa9e8
but data pool can't auto-recycle when object refcount == 0
Currently handle system is hard to use. I assume to use
DataPool
to replace it and rewrite handle system.DataPool
will create/allocate any type of element(not only assets), reuse them, and auto-recycle them.new handle system is based on
DataPool
, it access data from pool, check object validation.