https://bugs.freedesktop.org/show_bug.cgi?id=80907
David Tardon <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from David Tardon <[email protected]> --- (In reply to comment #0) > The writerfilter imports DOCX files and it spends quite lot of un-necessary > cycles allocating un-necessary things and then freeing them very shortly > afterwards =) > > The use of boost::shared_ptr creates a chunk of waste here - it requires > allocating an extra object to hold a ref-count; and we can easily do this > just as well with an intrusive pointer that is part of the same > object/allocation. It does not, if the shared_ptr is created by boost::make_shared<Foo>(...) instead of boost::shared_ptr(new Foo(...)). Then there is only one allocation. -- 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
