Commit d0f45efb
d0f45efbaec0Merged
fc-anjos <[email protected]> · 5 months ago · 2 files · ~2 modified
Description
Root split delimiters across allocations
Details
- Commit
- d0f45efbaec0
- Parent
- 11382b94ec50
node_table_loader.rbmodifiedView file
@@ -10,7 +10,10 @@
1010
end1111
1212
def read_text_ast(data)13-
lines = data.split(10.chr)13+
# Keep the split delimiter rooted across sp_str_split allocations.14+
# An inline 10.chr temporary can be swept mid-split under GC pressure.15+
nl = 10.chr16+
lines = data.split(nl)1417
# Pass 1: find max node ID1518
max_id = 01619
i = 0spinel_codegen.rbmodifiedView file
Loading diff…