On Tue, Nov 19, 2013 at 1:13 PM, Steven D'Aprano <st...@pearwood.info> wrote: > Still, given that Pike and Python have already solved this problem, and > have O(1) string indexing operations and length for any Unicode string, > SMP and BMP, it is a major disappointment that Ceylon doesn't.
And of course, the part that's "solved" here is not the O(1) string indexing, but the fact that UTF-32 semantics with less memory usage than UTF-16. It's easy to get perfect indexing semantics if you don't mind how much space your strings take up. ChrisA -- https://mail.python.org/mailman/listinfo/python-list