Mark Dickinson <> added the comment:

> Should be significantly faster.  If not, the new "-1" implementation should 
> be changed ;-)

I wouldn't have bet on this, before seeing Raymond's benchmark results. Writing 
a fast path for invmod for C-size integers is still on my to-do list; the 
current implementation does way too many Python-level divisions.


Python tracker <>
Python-bugs-list mailing list

Reply via email to