mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Store selectors and combinators inline in a single sequence.
This improves cache locality and reduces allocations during parsing. Note that this reverses the iteration order within a sequence of simple selectors, but that shouldn't matter.
This commit is contained in:
parent
93fa0ae1e3
commit
6d66ec5e11
10 changed files with 703 additions and 330 deletions
|
@ -9,6 +9,7 @@ extern crate fnv;
|
|||
extern crate precomputed_hash;
|
||||
extern crate smallvec;
|
||||
|
||||
pub mod arcslice;
|
||||
pub mod bloom;
|
||||
pub mod matching;
|
||||
pub mod parser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue