summaryrefslogtreecommitdiffstats
path: root/util/lexgen/css2-simplified.lexgen
Commit message (Collapse)AuthorAgeFilesLines
* QCSSScanner: really skip toLower() when tokenizing the input.Ariya Hidayat2009-09-031-0/+1
| | | | | | Missing from e3c62dc1def9270761ca63c73ae76fdca9d61582 is the actual change to the (generated) scanner, namely to skip lowercase conversion for each and every character.
* CSS parser speed-up: skip the need to call toLower().Ariya Hidayat2009-09-031-2/+1
| | | | | | | | | | | | | Instead of taking the lowercase of each tokenized character, it is better to encode the logic in the automaton itself. During the parsing of tiger.svg (tests/benchmarks/qsvgrenderer), the time spent inside QCssScanner_Generated::lex() goes down from 0.53 millions instructions to just 0.23 millions (2x faster). Autotests for qcssparser, qtextdocumentfragment, qstylesheet still pass. Reviewed-by: Simon Hausmann
* Long live Qt!Lars Knoll2009-03-231-0/+93