diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-01-27 15:34:45 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-01-27 15:34:45 +0000 |
commit | 12385d1747d1f84a75ac397fb1dcf8da5c3955c3 (patch) | |
tree | bd24d9cf2ca8b2e5d1829e612695ecd91037042f /src/html/html_collection.h | |
parent | 0174d8bc39cb8bb6d9422f2a65c7dacb94a9c0da (diff) | |
download | libdom-12385d1747d1f84a75ac397fb1dcf8da5c3955c3.tar.gz libdom-12385d1747d1f84a75ac397fb1dcf8da5c3955c3.tar.bz2 |
Optimise element specialisation: use non-caseless comparison in ladder.
We know for sure both things are upper case, so using the caseless
version is needlessly slow, since it will need to lowercase both
(if lowercase version's don't already exist) and compare the lower
case versions.
Diffstat (limited to 'src/html/html_collection.h')
0 files changed, 0 insertions, 0 deletions