Hello all,

attached patch derives FieldHandle from MemoryObject and makes the use of boost::shared_ptr obsolete. I think this is useful because FieldHandle then behaves like everything else that is ref counted and just uses our own pointer types (and dynamic_pointer_cast) which is hopefully less confusing than if it is the one-off thing that uses shared_ptr. Additionally, the shared_ptr stuff has been showing up in profiles when running GraphOps (may have gotten better with more recent boost version because of optimizations for the ref counter storage it allocates) and there is not really a reason why FieldHandle can't have an intrusive ref count in the first place.
The patch does not include the required regen of all *Base files.

Any comments? [1]

        Cheers,
                Carsten

[1] I plan to commit this Monday, so if anybody would like more time to look it over, just yell and I'll hold off ;)

Attachment: 0001-changed-derive-FieldHandle-from-MemoryObject-remove.patch.bz2
Description: application/bzip

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to