[Libreoffice-commits] core.git: editeng: Eliminate unecessary padding in classes
mstahl at redhat.com
Wed Nov 4 06:05:17 PST 2015
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
much better to invest time in tracking down the copious memory leaks
with LSAN or valgrind.
More information about the LibreOffice