https://bugs.freedesktop.org/show_bug.cgi?id=80798
Priority: medium
Bug ID: 80798
CC: [email protected]
Assignee: [email protected]
Summary: simple re-factor for speed-up ...
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: 4.2.4.1 rc
Component: Writer
Product: LibreOffice
Loading the bug document in fdo#76260 - we do 8.7 million calls to create
OOXMLPropertySetImpl - the vast majority of the cost of that structure is the
heap allocation and copying of the debugging member:
OOXMLPropertySetImpl::OOXMLPropertySetImpl()
: msType("OOXMLPropertySetImpl")
We burn 6bn cycles doing just this (per element I guess).
That type is only useful for debugging.
I'll fix the performance issue in this local case - but we shouldn't be
exposing this virtual method when it is not used widely I guess.
It'd be nice to have this compiled out of the relevant writerfilter::Reference
etc. vtables and/or removed completely.
Its unclear to me what good it provides that some RTTI typeid(*ptr).name() can
give us...
Thoughts miklos ? =)
Hopefully we can leave this as an easy hack though ...
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs