from java.lang import Math from java.lang import System xx= dindgen( 200000 ) yy= applyLambda( xx, lambda x : x+5 ) t0= System.currentTimeMillis() zz= applyLambda( xx, yy, lambda x,y : Math.atan2( y,x ) ) t1= System.currentTimeMillis() zz2= atan2( yy, xx ) t2= System.currentTimeMillis() print t2-t1, t1-t0