Commits

Author Commit Message Labels Comments Date
stian
Attempt to improve division by porting Cpythons new algorithm, it cuts division time by 30%. And also improve divrem1 by just casting the value, a small speed increase when // 3.
Branches
improve-rbigint
stian
Remove toom-cook (since it didn't pass own-linux-x86-32), fix divmod test.
Branches
improve-rbigint
Stian Andreassen
Close branch for merge
Branches
improve-rbigint
Stian Andreassen
Update benchmark results and lib-python tests pass (except for test_socket which is not relevant to the branch)
Branches
improve-rbigint
Stian Andreassen
Don't do floordiv/divmod sub inplace as it can break if div = -2**63
Branches
improve-rbigint
Stian Andreassen
Add test (and fix) for the eq issue. Remove _inplace_invert as it might break
Branches
improve-rbigint
Stian Andreassen
Another fix for pow(), disable _k_lopsided (has less than 1% gain), fix _x_divrem crash.
Branches
improve-rbigint
Stian Andreassen
These cases only work when c = None, obviously
Branches
improve-rbigint
Stian Andreassen
Float multiplication (it somewhat works when SHIFT = 63)
Branches
improve-rbigint
Stian Andreassen
This should fix sys.long_object
Branches
improve-rbigint
Stian Andreassen
Revert changes to longlongmask, and rather use intmask. This fixes objspace test
Branches
improve-rbigint
Stian Andreassen
Only use rshift for power of two division if both are positive. This fixes the array tests
Branches
improve-rbigint
Stian Andreassen
this fixes lib-python test_pow.py, i think
Branches
improve-rbigint
Stian Andreassen
Specialize 0**N, fix test_longobject.py
Branches
improve-rbigint
stian
Revert _tc_mul to the best version and remove check_nonneg (it did't clear when compiling in jit mode)
Branches
improve-rbigint
stian
Some last improvements:
Branches
improve-rbigint
stian
We shouldn't modify rffi.TYPES in rbigint...
Branches
improve-rbigint
stian
Merge default
Branches
improve-rbigint
stian
Fix for passing divrem tests on 32bit.
Branches
improve-rbigint
stian
Make _wide_digit use a cast instead of making a new value (slighty faster), make sure we support 32bit (I'm building a 32bit binary myself now, seems to work). And fix things those things arigo pointed out
Branches
improve-rbigint
stian
Fix a tiny issue when SUPPORT_INT = False, also add benchmark results
Branches
improve-rbigint
stian
Remove elidable from a few calls.
Branches
improve-rbigint
stian
Add rffi_platform check (Thanks fijal)
Branches
improve-rbigint
stian
Fixes. And reintroduce the jit stuff
Branches
improve-rbigint
stian
One fix, plenty of bugs left
Branches
improve-rbigint
stian
Merge in default
Branches
improve-rbigint
stian
Probably my final toom cook test. Didn't go so well. Also disable jit.eldible because it seems to slow down good algoritms
Branches
improve-rbigint
stian
Vast improvement, especially to add and mul by self
Branches
improve-rbigint
stian
New results
Branches
improve-rbigint
stian
Fix a broken test, and optimize mod, and refactor benchmarks to be more explainable
Branches
improve-rbigint
  1. Prev
  2. Next