[2/7] _sympifyit -- fast decorator to _sympify(arg)
commitde1fb823d6905f743fdb1a062a8970bd74402c63
authorKirill Smelkov <kirr@landau.phys.spbu.ru>
Sat, 9 Feb 2008 07:59:26 +0000 (9 10:59 +0300)
committerKirill Smelkov <kirr@landau.phys.spbu.ru>
Sat, 9 Feb 2008 07:59:26 +0000 (9 10:59 +0300)
treee13fe101e2fb71134bf15ed198817c743b0bafad
parent6b68328dde8cd5217b67d92c0edddc75fd8f0e90
[2/7] _sympifyit -- fast decorator to _sympify(arg)

Switch ArithMeths to `_sympifyit`

Timings
-------

        %timeit   %timeit   %timeit   %timeit
         x + y     x + 1     1 + x     x + 0.5

old:     30.4 µs   53.6 µs   83 µs     57.6 µs
new:     27.1 µs   44.1 µs   44.1 µs   23.2 µs
sympy/core/methods.py