Unicode and Python - how often do you index strings?

Ethan Furman ethan at stoneleaf.us
Tue Jun 3 21:28:54 EDT 2014


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~



More information about the Python-list mailing list