  p.next()
 ###
 
+console.log (points.get 1).get()
 console.log p.get()
 
 console.timeEnd 'arr'
 
+
+console.time 'arr2'
+points.setObject 0, x: 1, y: 3
+for i in [1...n]
+ points.setX i, (points.getX i-1) + i
+ points.setY i, (points.getY i-1) + 2
+
+#console.log (points.getX n-1), points.getY n-1
+console.log points.getObject 1
+console.log points.getObject n-1
+
+console.timeEnd 'arr2'
+
+console.time 'ArrayBuffer'
+
+buffer1 = new ArrayBuffer n * 4
+buffer2 = new ArrayBuffer n * 4
+x = new Int32Array buffer1
+y = new Int32Array buffer2
+
+x[0] = 1
+y[0] = 3
+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 'ArrayBuffer'
 
 console.time 'js'
 x = new Array n


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

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

console.timeEnd 'js'

 p.next()

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

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