Commit Graph
4 Commits
Author SHA1 Message Date
Nathan Froyd 6932bcbb7b Bug 1530369 - part 3 - do less copying in generateTokens; r=ckerschb
We don't need to copy `dirAndSrcs` when appending it to `outTokens`, and
we can reasonably retain the storage we've built up in `dirSrcs`, so we
don't continually reallocate it.
2019-02-25 13:58:53 -05:00
Nathan Froyd cc14fe0d23 Bug 1530369 - part 2 - bulk-append characters in generateNextToken; r=ckerschb
Instead of appending each individual charater, we can delay the append
until after the loop, which saves on function calls.
2019-02-25 13:58:53 -05:00
Sylvestre Ledru e5a134f73a Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Christoph Kerschbaumer 0b5b313094 Bug 1458504 - Move Tokenizer into it's own file so it can be shared by the CSP Parser and the Feature Policy Parser. r=jkt 2018-05-02 16:36:51 +02:00