[Issue 5530] std.algorithm.len()
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 25 15:10:26 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=5530
--- Comment #2 from bearophile_hugs at eml.cc 2014-01-25 15:10:22 PST ---
(In reply to comment #1)
> What's wrong with `walkLength`?
Its semantics and performance are different for narrow strings, that are common
use case. len is O(1), walkLength is sometimes O(n).
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list