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/2004-April/044348.html below:

[Python-Dev] String hash function multiplier

[Python-Dev] String hash function multiplier [Python-Dev] String hash function multiplierAndrew MacIntyre andymac at bullseye.apana.org.au
Fri Apr 16 19:36:52 EDT 2004
On Wed, 14 Apr 2004, Jeff Epler wrote:

> imul is on all x86 architectures, but whether to use it or not depends
> on the characteristics of the target CPU.  With -mcpu=i386, imul is
> considered quite slow and a shift sequence is (almost?) always preferred
> when one operand is constant.  With -mcpu=i686 and newer, imul seems to
> be preferred.

My misunderstanding. I hadn't really comprehended the full extent of
"instruction scheduling" in this context.

--
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au  (pref) | Snail: PO Box 370
        andymac at pcug.org.au             (alt) |        Belconnen  ACT  2616
Web:    http://www.andymac.org/               |        Australia

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