This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients fredrikj, mark.dickinson, pernici
Date 2009-03-24.18:32:10
SpamBayes Score 1.7926208e-06
Marked as misclassified No
Message-id <1237919532.31.0.244952118606.issue3451@psf.upfronthosting.co.za>
In-reply-to
Content
The longobject2.diff patch probably doesn't apply cleanly any more.  
Anyone interested in updating it?

I think this patch looks like a promising beginning, but there's still 
quite a lot of work to do.  The main concerns at the moment are:

(1) the huge numbers of Py_DECREFs and Py_XDECREFs.  Some refactoring 
might help here ("goto" isn't all bad: it's fairly common to use lots of 
"goto error" statements in Python's source code).

(2) I suspect that many of the operations could be turned into in-place 
operations on digit vectors, thus saving lots of object allocations and 
deallocations.  This should also help out with (1).

I'm not yet 100% sold on getting subquadratic division into Python---it 
remains to be seen how much complexity it adds.  If it makes it easy to 
implement subquadratic integer <-> string conversions that would be a big 
plus.
History
Date User Action Args
2009-03-24 18:32:12mark.dickinsonsetrecipients: + mark.dickinson, pernici, fredrikj
2009-03-24 18:32:12mark.dickinsonsetmessageid: <1237919532.31.0.244952118606.issue3451@psf.upfronthosting.co.za>
2009-03-24 18:32:11mark.dickinsonlinkissue3451 messages
2009-03-24 18:32:10mark.dickinsoncreate