core
core copied to clipboard
[POC] Stringview
The main idea is to eliminate the cost of constructing an Array from String then ArrayView it.
However, this implementation lacks some important property, like
match view {
['-', '>', .. as rest] => ...
}
Which is extensively used in minimoonbit's implementation. This is not ideal, and the compiler should be able to handle this case