Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Wed, Jul 13, 2011 at 11:15:33PM -0400, Kohei Yoshida wrote:
Hi there,

I'd like to update mdds to 0.5.3 for the -3-4 branch and preferably the
-3-4-2 branch as well.  The attached patches would make that happen.

That should improve the performance issue raised in

https://bugs.freedesktop.org/show_bug.cgi?id=38028

but since this affects the general performance of the matrix code, it
should speed up calculations involving matrices in other use cases as
well.

I've already updated mdds to 0.5.3 on master, so this is for the 3.4.x
branch only.

The change in mdds since 0.5.2 is very minimal.  In fact, the only
change I made is in the filled matrix storage backend code, and the new
implementation passes all the tests therein (on Linux and Windows).
Memory leak tests show no leakages.

Looks good to me.

Nitpick, unrelated to the review: you may want to disable operator= for
storage_filled_linear (and storage_filled_nested_array too), because its
use would cause double delete. (I would even make the copy ctors of all
the storage classes protected to ensure that only clone() is ever used
to create copies, but since the classes are only used in implementation,
the danger of that happening is probably very low...)

D.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.