MobilityDB 1.1

◆ tsequence_compact()

TSequence * tsequence_compact ( const TSequence seq)

Return a copy of a temporal sequence with no additional free space.

Note
We cannot simply test whether seq->count == seq->maxcount since there could be extra space allocated for the (variable-length) instants