com.twitter.cassovary.collections
CSeq is fast and memory efficient equivalent of Scala's immutable.IndexedSeq with minimal interface that is 1) generic; 2) specialized for Int and Long; 3) does not use boxing for Int and Long; 4) and uses arrays of primitive types underneath.
immutable.IndexedSeq
Int
Long
type of element
Methods below are not optimized
A sliced view of this CSeq.
Scala's Indexed.Seq that wraps this CSeq. Uses boxing.
Indexed.Seq
CSeq is fast and memory efficient equivalent of Scala's
immutable.IndexedSeq
with minimal interface that is 1) generic; 2) specialized forInt
andLong
; 3) does not use boxing forInt
andLong
; 4) and uses arrays of primitive types underneath.type of element