A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-August/121415.html below:

[Python-Dev] 3.3 str timings

[Python-Dev] 3.3 str timings [Python-Dev] 3.3 str timingsmartin at v.loewis.de martin at v.loewis.de
Tue Aug 21 17:28:40 CEST 2012
>> print(timeit("c in a", "c  = '…'; a = 'a'*1000+c")) # ord(c) = 8230

> I'm not sure that I read your benchmark correctly: you write c='...'

Apparenly you didn't - or your MUA was not able to display it
correctly. He didn't say

'...' # U+002E U+002E U+002E, 3x FULL STOP

but

'…' # U+2026, HORIZONTAL ELLIPSIS

Regards,
Martin


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4