Test operator overloads with deep hierarchy.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/szager-python-builtin@12449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Stefan Zager 2011-02-10 05:15:03 +00:00
commit e5bf6419b2
10 changed files with 7033 additions and 0 deletions

View file

@ -0,0 +1,11 @@
#!/usr/bin/env python
import Simple_optimized
import time
t1 = time.clock()
x = Simple_optimized.H()
for i in range(10000000) :
x += i
t2 = time.clock()
print "Simple_optimized took %f seconds" % (t2 - t1)