Mark Dickinson <dicki...@gmail.com> added the comment: Updated version of longobject_diff1:
- add mul1 back in - rename MAX_PARTIALS to the more descriptive BLOCK_MUL_SIZE - rewrite digits_multiply so that the call to digits_multiply_add always has b_size=BLOCK_MUL_SIZE, then hard-code this and get rid of the b_size argument. This should give the compiler some opportunities for loop-unrolling in digits_multiply_add. ---------- Added file: http://bugs.python.org/file13406/faster_long_mul.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3944> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com