After some more data representation and cache tuning.. it takes 1-2ms to match all of the CSS selectors on slashdot/facebook against the DOM (on a Nehalem).
Preprocessing, like parsing, now dominates the computation probably by a factor of like 50x. Crazy.
No comments:
Post a Comment