Implementation question: Can/do browsers make use of bloom filters in QSA?
-
-
Replying to @briankardell
@briankardell It appears we use a bloom filter for at least for some CSS rule processing: http://dxr.mozilla.org/mozilla-central/source/layout/style/nsRuleProcessorData.h#72 … /@davidbaron2 replies 0 retweets 0 likes -
Replying to @wanderview
@wanderview@briankardell Looks like we don't use bloom filter for QSA, though I'm not sure.@bz_moz would know. Seems fixable.1 reply 0 retweets 0 likes -
Replying to @davidbaron
@davidbaron@wanderview@briankardell We don't. I tried it once and didn't get a noticeable win, iirc, but we should try measuring again.1 reply 0 retweets 0 likes -
Replying to @really_bz
@davidbaron@wanderview -@SimonSapin indicated otherwise. Confused :( i defer to the standard compendium of moz knowledge@bz_moz5 replies 0 retweets 0 likes -
Replying to @briankardell
@briankardell@davidbaron@wanderview@bz_moz I somehow remembered that we use the same code for QSA and stylesheets, but apparently not.1 reply 0 retweets 0 likes -
Replying to @SimonSapin
@SimonSapin@briankardell@davidbaron@wanderview We use the same matching code, but qSA doesn't set up a filter on the TreeMatchContext.1 reply 0 retweets 0 likes -
Replying to @really_bz
@bz_moz does matchesSelector?@SimonSapin@davidbaron@wanderview1 reply 0 retweets 0 likes
@briankardell @SimonSapin @davidbaron @wanderview No. For matchesSelector it would almost certainly be a net performance loss, by the way.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.