1
0
forked from Mirror/wren
Files
wren/test/core/string_code_point_sequence
Bob Nystrom fe143644b3 Rationalize string lengths.
The .count getter on string returns the number of code points. That's
O(n), but it's consistent with the rest of the main string API.

If you want the number of bytes, it's "string".bytes.count.

Updated the docs.

Fixes 68. Woo!
2015-09-11 21:33:26 -07:00
..
2015-09-11 21:33:26 -07:00