
4 Mar
2011
4 Mar
'11
4:36 p.m.
On 04/03/2011 14:28, Chad Nelson wrote:
On Fri, 04 Mar 2011 09:03:16 +0100 Ivan Le Lann<ivan.lelann@free.fr> wrote:
I'll be happy to accept patches.
I ran no benchmarks but delving through magnitude_manager_t seems enough to understand the problem. Do you think specializing this class on Bits parameter to be stack based for non zero values could solve this performance problem?
<http://permalink.gmane.org/gmane.comp.lib.boost.devel/205549>
Just drop the whole copying everywhere and COW idea, it's just making your code more complex and preventing many simple optimizations.