summaryrefslogtreecommitdiffstats
path: root/xmlsecurity
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-08-03 00:56:26 +0200
committerJan Holesovsky <kendy@collabora.com>2014-08-03 01:43:12 +0200
commit7aa7047eb48e81bc0b32448ff0487c993fe9a4db (patch)
tree8a875da3e453a078dadead19ce145fcbd55ae22e /xmlsecurity
parentlinguistic/workben/sspellimp.cxx fix cppcheck error (diff)
downloadcore-7aa7047eb48e81bc0b32448ff0487c993fe9a4db.tar.gz
core-7aa7047eb48e81bc0b32448ff0487c993fe9a4db.zip
writerfilter: Kill ListValueMap(s) & their construction.
ListValueMaps were completely useless; it is always just few values that used to be in the unordered_map, so doing just a normal comparison couldn't be too much worse than all the hash construction etc. This saves >300k of the libwriterfilter.so size (striped). If this proves to be less performing than what we used to have (which I doubt), now when we generate the code using Python, it would be a piece of cake to construct some deterministic finite automaton in each switch's case to accept the value names, and return the values. Change-Id: I95d0470b73ade1fbf5c9de2299c4adcc59286bc3
Diffstat (limited to 'xmlsecurity')
0 files changed, 0 insertions, 0 deletions