
31 Jul
2007
31 Jul
'07
1:48 p.m.
I think what you want is a piecewise constant series of (value, offset, end offset) tuples like this:
(42, 0, 9) (43, 9, 21) (44, 21, 30) ...
yes, that is what I am after. Two observations: One inconvenience of this is that I assume it will always be necessary to have the next sample before inserting the current sample (so the end of the run can be specified), though this is not clear to me from the documentation (do I call inserter(42,0) or inserter(42,0,9)?). And as an inefficiency, each timestamp gets stored twice (again, if I understand correctly). Hugo