[Dune] [#875] Loss of 5% performance in GeometryGrid

Dune flyspray at dune-project.org
Sun Feb 13 20:46:33 CET 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#875 - Loss of 5% performance in GeometryGrid
User who did this - Carsten Gräser (Carsten)

----------
While a shared_ptr could be used to do the reference counting, it might introduce another issue:
If the geometries are allocated dynamically using an allocator you must also provide a deleter to the shared_ptr introducing another a 'new' for the internal type erasure. For this reason allocator support will be added to the shared_ptr in c++0x.
If we try to use a shared_ptr here we should compare std::shared_ptr and boost::shared_ptr (with allocator) with std::tr1::shared_ptr (without allocator). If we need the allocator support we could reimplement it in dune and use either std::... boost::... or dune::... but not std::tr1.
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=875#comment2375

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