[Dune] [#766] Separate GenericGeometries and the SmallObjectPool (Attachment added)
Dune
flyspray at dune-project.org
Thu Nov 11 16:41:47 CET 2010
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#766 - Separate GenericGeometries and the SmallObjectPool
User who did this - Carsten Gräser (Carsten)
----------
As discussed with Martin the most simple and flexible solution would be to go back to the original proposal:
The mappings can simply be created using placement new on a large enough char array member. The size can be determined by the same tmp structure used for creation. The additional HybridMapping* pointer to the char array does not waste memory since such a pointer is already present in the geometries. Using custom allocators can then completely be done outside.
Implementing this is postponed until Martin or I have time for this. Just to document the idea I've attached a prototype.
----------
One or more files have been attached.
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=766#comment2271
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list