[pypy-issue] [issue1031] Speed of a tiny arithmetic program

Armin Rigo tracker at bugs.pypy.org
Mon Jan 30 22:39:26 CET 2012


New submission from Armin Rigo <armin.rigo at gmail.com>:

http://paste.pocoo.org/show/543141/

This program is not much faster with pypy.  Even if I get rid of the obvious
inefficiencies using divmod(..,2) and replace 2**r*d with d << r, the program
ends up only twice as fast.  Why?

----------
messages: 3845
nosy: arigo, pypy-issue
priority: performance bug
status: unread
title: Speed of a tiny arithmetic program

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1031>
________________________________________


More information about the pypy-issue mailing list