 
 console.log 'Test Arrays'
 
+n = 10000000
+points = new TDS.Array Point, n
+
 console.time 'arr'
-n = 1000000
-points = new TDS.Array Point, n
+
 p = points.get 0
 p.copyFrom p2
 pl = points.get 0

 p.next()

 p.setX pl.getX() + i
 p.setY pl.getY()

 #p.copyFrom pl
 #p.setX p.getX() + i


for i in [1...n]
 x[i] = x[i-1] + i
 y[i] = y[i-1] + 2

console.log x[1], y[1]
console.log x[n-1], y[n-1]

console.timeEnd 'js'
