Commit 6121692
perf(core): resolve O(N^2) memory reallocation bottleneck in line-break tokenization (#2434)
* perf(core): eliminate O(N^2) memory reallocation in split_linebreaks
* feat(core): optimize split_linebreaks and fix CI Node version
* Update package-lock.json
---------
Co-authored-by: Mounesh <work.mounesh@example.com>
Co-authored-by: Liam Newman <bitwiseman@gmail.com>1 parent f00005f commit 6121692
1 file changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
109 | 110 | | |
110 | | - | |
111 | | - | |
112 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
113 | 114 | | |
114 | | - | |
115 | | - | |
| 115 | + | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
0 commit comments