From 701d16aa5ee8d39188dffb797ce14d7d0f95967a Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 13 Dec 2013 22:50:22 +0000 Subject: Improve explanation of TODO. --- src/select/select.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/select/select.c') diff --git a/src/select/select.c b/src/select/select.c index 7731258..1de8bc4 100644 --- a/src/select/select.c +++ b/src/select/select.c @@ -492,7 +492,11 @@ css_error css_select_style(css_select_ctx *ctx, void *node, if (error != CSS_OK) goto cleanup; /* TODO: - * If state.bloom == NULL, build and set parent bloom. + * If state.bloom == NULL, build & set parent node's bloom, + * and use it as state.bloom. This will speed up the case + * where DOM change has caused bloom to get deleted. + * For now we fall back to a fully satruated bloom filter, + * which is slower but perfectly valid. */ } -- cgit v1.2.3