repo.or.cz
/
sympy.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Initial SymPy benchmark suite
[sympy.git]
/
sympy
/
core
/
benchmarks
/
bench_sympify.py
blob
39b718d8b9c9feed4bdac851e2f0a7160a1d137a
1
from
sympy
.
core
import
sympify
,
Symbol
2
3
x
=
Symbol
(
'x'
)
4
5
def
timeit_sympify_1
():
6
sympify
(
1
)
7
8
def
timeit_sympify_x
():
9
sympify
(
x
)