[webkit-reviews] review granted: [Bug 234341] [:has() pseudo-class] Use Bloom filter to quickly reject :has() selectors : [Attachment 447224] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 15 09:27:24 PST 2021


Dean Jackson <dino at apple.com> has granted Antti Koivisto <koivisto at iki.fi>'s
request for review:
Bug 234341: [:has() pseudo-class] Use Bloom filter to quickly reject :has()
selectors
https://bugs.webkit.org/show_bug.cgi?id=234341

Attachment 447224: Patch

https://bugs.webkit.org/attachment.cgi?id=447224&action=review




--- Comment #3 from Dean Jackson <dino at apple.com> ---
Comment on attachment 447224
  --> https://bugs.webkit.org/attachment.cgi?id=447224
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=447224&action=review

> Source/WebCore/ChangeLog:48
> +	   Add HasSelectorFilter which uses non-counting BloomFilter
internally. The size of the filter is 64 bytes.

I don't understand how BloomFilter<14> is 64 bytes but I'll take your word for
it.


More information about the webkit-reviews mailing list