Skip to content

Commit

Permalink
+ allow cmath.sin(z=1) syntax
Browse files Browse the repository at this point in the history
In the main:
$ ./python -m timeit -r11 -s 'from cmath import sin;z=1j' 'sin(z)'
1000000 loops, best of 11: 312 nsec per loop

With patch:
$ ./python -m timeit -r11 -s 'from cmath import sin;z=1j' 'sin(z)'
1000000 loops, best of 11: 330 nsec per loop
  • Loading branch information
skirpichev committed Oct 25, 2024
1 parent 769c65f commit f34de6a
Show file tree
Hide file tree
Showing 2 changed files with 549 additions and 73 deletions.
Loading

0 comments on commit f34de6a

Please sign in to comment.