[Bf-committers] Reference counting, deleting data and fake users

Antony Riakiotakis kalast at gmail.com
Fri Mar 16 15:55:11 CET 2012


I don't see any big technical difficulty personally. We can just
modify the refcount increasing/decreasing function to use an observer
pattern scheme and if a datablock is deleted simply inform the
observers of the deletion (And the human user if the datablock has
more users). It will require some interface for the observers too but
I don't think it's an unsurpassable challenge, even in C :p. The
memory footprint of datablocks will slightly increase but it's a
negligible amount of data compared to meshes etc.


More information about the Bf-committers mailing list