[Issue 13829] std.uni.byCodePoint for strings has length
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Dec 7 05:48:55 PST 2014
https://issues.dlang.org/show_bug.cgi?id=13829
--- Comment #1 from Marc Schütz <schuetzm at gmx.net> ---
In case it wasn't clear:
For strings and wstrings, determining the actual number of code points is an
O(n) operation and should therefore not be available via length at all. The
current implementation returns the number of code units, not of code points.
--
More information about the Digitalmars-d-bugs
mailing list