Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72571

Re: Unicode and Python - how often do you index strings?

Date 2014-06-03 18:28 -0700
From Ethan Furman <ethan@stoneleaf.us>
Subject Re: Unicode and Python - how often do you index strings?
References <CAPTjJmr4iHdaCy61w2rz-oL6FcarRzzTeEU44Fxn2Z=gS0fh-Q@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.10662.1401846690.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 06/03/2014 05:39 PM, Chris Angelico wrote:
>
> A current discussion regarding Python's Unicode support centres (or
> centers, depending on how close you are to the cent[er]{2} of the
> universe) around one critical question: Is string indexing common?

I use it quite a bit, but the strings are usually quite small (well under 100 characters) so an implementation that 
wasn't O(1) would not hurt me much.

--
~Ethan~

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Unicode and Python - how often do you index strings? Ethan Furman <ethan@stoneleaf.us> - 2014-06-03 18:28 -0700

csiph-web