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/2013-November/130183.html below:

[Python-Dev] peps: PEP 456: add some of the new implementation details to the PEP's text

[Python-Dev] peps: PEP 456: add some of the new implementation details to the PEP's text [Python-Dev] peps: PEP 456: add some of the new implementation details to the PEP's textTerry Reedy tjreedy at udel.edu
Thu Nov 14 23:46:05 CET 2013
On 11/14/2013 4:00 AM, Antoine Pitrou wrote:
> On Wed, 13 Nov 2013 23:33:02 +0100 (CET)
> christian.heimes <python-checkins at python.org> wrote:
>>
>>
>> +Small string optimization
>> +=========================
>> +
>> +Hash functions like SipHash24 have a costly initialization and finalization
>> +code that can dominate speed of the algorithm for very short strings. On the
>> +other hand Python calculates the hash value of short strings quite often. A
>> +simple and fast function for especially for hashing of small strings can make

'for especially for hashing' is garbled. Delete first 'for'.

>> +a measurably impact on performance. For example these measurements were taken

'measurable'

>> +during a run of Python's regression tests. Additional measurements of other
>> +code have shown a similar distribution.

-- 
Terry Jan Reedy

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