-
Will using filters have an impact on performance? Is the task filtering operation O(1), O(n)? |
Beta Was this translation helpful? Give feedback.
Answered by
schemar
Aug 28, 2021
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
schemar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.