Open quasilyte opened 7 years ago
For multibyte strings, string[index] have O(N) complexity. String is traversed in linear fashion to reach required index.
string[index]
O(N)
See emacs/rt/string.go (StringGet function).
emacs/rt/string.go
StringGet
Potentially can be solved with #94.
For multibyte strings,
string[index]
haveO(N)
complexity. String is traversed in linear fashion to reach required index.See
emacs/rt/string.go
(StringGet
function).