On 04.11.2015 13:56, Norbert Thiebaud wrote:
> the class in question is not the most used one of the sfxItem
> category, but still in just tests we run  for lcov, it is still
> instantiated mode than 100K times.
> the patch in question in 64 bits mode, make the struct fit in 29 bytes
> -> rounded to 32  vs  37 before (rounded to 40) that is a 20%
> difference and 800K of allocation.

thanks for measuring that, across 1000 or so document load then store
then load again operations in Writer unit tests alone it's entirely
negligible.

much better to invest time in tracking down the copious memory leaks
with LSAN or valgrind.


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to