Repository navigation
v2.11.0 - Wasm: String split
Wasm: String split
The on-the-fly WebAssembly compiler now supports String.split(sep), returning a List<String>. Compiled as two passes over the [len][utf8] layout: the first counts the separators to size the list, the second allocates each piece as a fresh String and stores its pointer in the list buffer. Handles multi-char separators and leading/trailing empty pieces; an empty sep yields a single whole-string piece.
With this, the String method surface in Wasm is broadly complete (case, length, slice/search, trim/pad, replace, compareTo, split).
Full changelog: https://github.com/ApolloVM/apollovm_dart/blob/v2.11.0/CHANGELOG.md