DOM memory system

From COLLADA Public Wiki
Revision as of 21:05, 23 March 2007 by Elf (talk | contribs) (copying in text from Andy's word doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal notes on the COLLADA DOM memory system:

daeMemory system is supposed to ((ANDY: Missing a word?)) a class to manage memory from different memory pools.

It overwrites malloc and free.

All dae classes overwrite new and delete to use the daeMemorySystem's malloc and free.

This has never been fully implemented. It actually makes it harder to profile the DOM because many memory profilers replace new/delete and malloc/free with their own functions but since the DOM does that they don’t work.