  length = 0
 
  lastArr = null
+ lastArrLen = 0
  lastViews = null
  i_lastArr = i_lastPos = 0
  i_llp = -1

   return res

  addArray: ->
   n = lastArr.length
   if n isnt MAX_SIZE
    n = n << 1

   capacity += n
   lastArr = TDS.Array struct, n
   lastViews = lastArr.views
   arrays.push lastArr
   allViews.push lastViews


  push: (val) ->
   res = off
   if i_lastPos is lastArrLen
    @addArray()
    i_lla++
    i_llp = 0
