densh / scala-offheap

Experimental type-safe off-heap memory for Scala.
BSD 3-Clause "New" or "Revised" License
532 stars 38 forks source link

Introduces embedded arrays #38

Closed densh closed 9 years ago

densh commented 9 years ago

Here we introduce an equivalent of field embedding (https://github.com/densh/scala-offheap/pull/34) only for arrays. Unlike regular arrays embedded arrays have object values stored inside of the array rather than references to objects allocated elsewhere. This is direct equivalent of array of structs in C.