Because we create a lot of these in the macro parser, but only very rarely modify them. This speeds up some html5ever runs by 2--3%. |
||
|---|---|---|
| .. | ||
| lexer | ||
| attr.rs | ||
| classify.rs | ||
| common.rs | ||
| mod.rs | ||
| parser.rs | ||
| token.rs | ||
Because we create a lot of these in the macro parser, but only very rarely modify them. This speeds up some html5ever runs by 2--3%. |
||
|---|---|---|
| .. | ||
| lexer | ||
| attr.rs | ||
| classify.rs | ||
| common.rs | ||
| mod.rs | ||
| parser.rs | ||
| token.rs | ||