emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] tags search: faster tags matcher by trusting scanner tags


From: Ilya Shlyakhter
Subject: [O] [PATCH] tags search: faster tags matcher by trusting scanner tags
Date: Thu, 15 Mar 2012 19:16:06 -0400

The attached patch speeds up tags matching ( 50s --> 5s for my most common search ),
by turning on org-trust-scanner-tags within the matcher.

(When it's off, getting a non-inherited property's value causes a call to org-entry-properties
to fetch all properties into a cache, including ALLTAGS; fetching ALLTAGS involves
calling (org-get-tags-at), which is slow when org-trust-scanner-tags is off.)

Can this cause problems / was this off for a reason?

thanks,

ilya

Attachment: 0022-Tags-matcher-turned-on-org-trust-scanner-tags-within.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]