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.
Companion object to CSeq.
Companion object to CSeq. This object's apply methods should be used to create new CSeqs.
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