Skip to content

Global filters and performance #302

Answered by schemar
ahopkins asked this question in Q&A
Discussion options

You must be logged in to vote

Using global filters has a space complexity of O(1) and a time complexity of O(n) (with the number of tasks). For each task in your vault, Tasks will check if the description contains the global filter.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by schemar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
scope: global filter Anything to do with the global filter
2 participants
Converted from issue

This discussion was converted from issue #299 on August 28, 2021 08:41.