[Bug 84090] Speed up oox::TokenMap by removing unnecessary maUniName OUString

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 21 01:07:11 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84090

--- Comment #3 from Siddu <sidchelseafan at gmail.com> ---
(In reply to comment #0)
> This task is about removing maUniName from include/oox/token/tokenmap.hxx
> which stores the same content as maUtf8Name in another form and is used
> mostly for debugging purposes only.
> Where TokenMap::getUnicodeTokenName was used, one can use
> TokenMap::getUtf8TokenName
> 
> Remove maUniName from struct TokenName, that struct can then also die, and
> do following simplifications / adaptations.
> 
> We used to spend 10m pseudo cycles in TokenMap constructor, this should save
> about a half of that.

1.Do I have to replace the method getUnicodeTokenName with getUtf8TokenName in
tokenmap.cxx?
2. After removing maUniName what do you mean the entire struct i.e TokenName
can die ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140921/a85f9f21/attachment.html>


More information about the LibreOffice mailing list