       s.retain()
      else
       s = new StringClass v
+     StringAlloc.release @views[i][@pos*2], @views[i][@pos*2+1]
      @views[i][@pos*2] = s.x
      @views[i][@pos*2+1] = s.y
     else

console.log p.get()
###

#TODO release when structs are replaced.
#TODO check memory leaks

Struct = ->

       s.retain()
      else
       s = new StringClass v
      StringAlloc.release @views[i][k1 + j*2], @views[i][k1 + j*2 + 1]
      @views[i][k1 + j*2] = s.x
      @views[i][k1 + j*2 + 1] = s.y
     else
