Created
January 25, 2016 00:17
-
-
Save cswiercz/ad1a9f747e514bb235ad to your computer and use it in GitHub Desktop.
Some Puiseux timings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TIMING | |
addition: | |
1 loops, best of 1: 399 µs per loop | |
1 loops, best of 1: 50.8 µs per loop | |
multiplication | |
1 loops, best of 1: 382 µs per loop | |
1 loops, best of 1: 49.1 µs per loop | |
exponentiation | |
1 loops, best of 1: 63.9 µs per loop | |
1 loops, best of 1: 52 µs per loop | |
DONE |
timings3.out
- Cythonized the valuation but not the power series
TIMING
addition:
1 loops, best of 1: 275 µs per loop
1 loops, best of 1: 28.8 µs per loop
multiplication
1 loops, best of 1: 218 µs per loop
1 loops, best of 1: 26.9 µs per loop
exponentiation
1 loops, best of 1: 34.8 µs per loop
1 loops, best of 1: 27.9 µs per loop
DONE
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
timings0.out
- Stupid me, I forgot to list the original timings with Sage'sLaurentSeries
patched to have aLaurentSeries.V()
method similar to that ofPowerSeries
.Dang! I must have had a terrible implementation.