You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The C implementation of strings is pretty dumb and straight forward (and slow).
We should probably implement a form of rope under the hood. Notice that node.js's v8 already does in some form, because ./perf/cat.sink runs significantly faster in the JS implementation.
The C implementation of strings is pretty dumb and straight forward (and slow).
We should probably implement a form of rope under the hood. Notice that node.js's v8 already does in some form, because
./perf/cat.sink
runs significantly faster in the JS implementation.See: https://en.wikipedia.org/wiki/Rope_(data_structure)
We can likely keep the C API the same, and just use ropes internally, and flatten ropes when
sink_caststr
is called.The text was updated successfully, but these errors were encountered: