Source

pypy / pypy / rlib / test / test_rbigint.py

Author Commit Message Labels Comments Date
Philip Jenvey
fix frombytes on empty strings
Amaury Forgeot d'Arc
Backport frombytes() and tobytes() from the py3k branch.
Stian Andreassen
Give rbigint.eq a faster path (atleast it benchmarks slightly faster)
Alex Gaynor
make it possible to compare rbigints with == and != for testing
Philip Jenvey
push fromfloat failure categorization down into rbigint
Armin Rigo
Fix bug with pow(x, BIGNUM, z).
stian
Apply improve-rbigint changes again
Branches
improve-rbigint
stian
Merge/replace by default
Branches
improve-rbigint
Stian Andreassen
Revert changes to rshift, and change a test so it fails, and fix it. All tests should now pass
Branches
improve-rbigint
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
Armin Rigo
Backout 161f9ca68f8e + 8a78c6bf2abb: un-merge improve-rbigint.
Stian Andreassen
Merge improve-rbigint. This branch improves the performance on most long operations and use 64bit storage and __int128 for wide digits on systems where it is available.
stian
Backed out changeset d65e8cef8bec
Stian Andreassen
Add test (and fix) for the eq issue. Remove _inplace_invert as it might break
Branches
improve-rbigint
Maciej Fijalkowski
Backed out changeset fcdcec196a0b. This breaks tests at the very least.
stian
Some last improvements:
Branches
improve-rbigint
stian
Fixes. And reintroduce the jit stuff
Branches
improve-rbigint
stian
Fix a broken test, and optimize mod, and refactor benchmarks to be more explainable
Branches
improve-rbigint
stian
Use inplace_divrem to find the reminder from v, this makes divrem 20% faster
Branches
improve-rbigint
stian
Faster rshift since SHIFT >= sizeof(int)
Branches
improve-rbigint
stian
Working, but ineffective toom cook implantation
Branches
improve-rbigint
stian
More to the toom cook implantation, it's 'almost' correct. Added a failed test
Branches
improve-rbigint
stian
Fix one test, fix so a few tests no longer fails (divrem fails for some reason, I don't understand why). Optimize mod() and fix issue with lshift and fix translation (for some reason the last commit failed today, but worked last night hehe)
Branches
improve-rbigint
stian
Fix a test, fix so all tests passes, and some improvements.
Branches
improve-rbigint
stian
Introduce int128 and int cache.
Branches
improve-rbigint
stian
Add speedup for all (power of two)**num.
Branches
improve-rbigint
Armin Rigo
Re-enable this part of the code and fix it.
Armin Rigo
Test and -er- fix, by commenting out the buggy code.
Armin Rigo
Test and fix on 64-bit.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next