Oh look, another language (ceylon)

Chris Angelico rosuav at gmail.com
Mon Nov 18 21:56:44 EST 2013


On Tue, Nov 19, 2013 at 1:13 PM, Steven D'Aprano <steve at 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



More information about the Python-list mailing list