-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Closed
Labels
plan-itemVS Code - planned item for upcomingVS Code - planned item for upcoming
Milestone
Description
Currently our text buffer is on top of an array which stores all lines of a file, it behaves well in most cases (accessing, editing, etc are all fast). When the size of a file or the line breaks count increases, it takes more time to build the text buffer as we are splitting the content by line breaks, and holds more memory. We'll explore some other text buffer implementation to improve the performance and memory usage of above case, with reasonable time loss of line accessing, editing, etc.
Benchmark: Performance and Memory Usage Metrics
- Model Builder (for file loading)
- GetLineContent (for display and tokenization)
- GetLineContent after edits
- Edits
- Search and Replace
itsMapleLeaf, jens1o, Yukaii and myfairsyermyfairsyer
Metadata
Metadata
Assignees
Labels
plan-itemVS Code - planned item for upcomingVS Code - planned item for upcoming