forked from fabiospampinato/vscode-todo-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestmigratedIssue migrated from the original Todo+ repository.Issue migrated from the original Todo+ repository.missing api
Description
Original author: fabiospampinato
Original created at: 2018-05-22T00:43:24Z
Original URL: fabiospampinato#54
The amount of work this extension performs scales with the number of lines, basically a file with 1000 lines will take 10 times more to decorate than a file with 100 lines.
At the moment, when the document changes, we trash all the previous decorations and start over, this will cause lags if the file is big enough.
Most of the times only one line or few lines change, usually there's no need to refresh the decorations for all the other lines.
Possible improvements:
- Maybe deprecate multi-line code blocks (wrapped in ```), they make many things harder, including performance optimizations.
- Cache untouched lines' decorations
- Cache projects' tokens
-
Cache regexes results, right now "negative regexes" get run multiple times
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestmigratedIssue migrated from the original Todo+ repository.Issue migrated from the original Todo+ repository.missing api