Commit 4f8a1e1
committed
Optimize parser performance by introducing
- Replace direct list concatenation in `ParserStructure.append()` with `ConcatenatedListView` for improved efficiency.
- Add `ConcatenatedListView` implementation to lazily combine two lists without creating a new collection.ConcatenatedListView
1 parent 5070925 commit 4f8a1e1
File tree
2 files changed
+14
-1
lines changed- core/common/src/internal/format/parser
2 files changed
+14
-1
lines changedLines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments