https://bugs.documentfoundation.org/show_bug.cgi?id=39179

--- Comment #40 from Julien Nabet <[email protected]> ---
Created attachment 125095
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125095&action=edit
kcachegrind screenshot

I use dbg-util to try to retrieve the maximum of information (in bt and/or in
console).

I'm not accustomed to interpreting kcachegrind views but it seems these might
be interesting:
1)
http://opengrok.libreoffice.org/xref/core/sax/source/tools/fastattribs.cxx#121
    121 sal_Bool FastAttributeList::hasAttribute( ::sal_Int32 Token ) throw
(RuntimeException, std::exception)
    122 {
    123     for (sal_Int32 i : maAttributeTokens)
    124         if (i == Token)
    125             return true;
    126 
    127     return false;
    128 }
I wonder if the loop could be replaced by something else.

2)
http://opengrok.libreoffice.org/xref/core/sax/source/fastparser/fastparser.cxx#639
FastSaxParserImpl::GetTokenWithPrefix

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to