--
MongoSV is december 3rd
for timespan i would just say store the number of seconds of the span
as an integer
if i were coding in c++ or something I think i would be likely to do
something like:
{
unsigned visit_length_seconds;
}
rather than
{
TimeSpan visit_length;
}
although both make sense.
On Fri, Oct 22, 2010 at 9:17 AM, Justin Dearing <zipp...@gmail.com> wrote:
--
MongoSV is december 3rd
timespan or time?
perhaps if we had arbitrary precision decimal type, shorts would
typically be quite short anyway (a number like 7 might only be 16 bits
in such a representation perhaps)
--
MongoSV is december 3rd
which can be done, it's just changes to BSON spec will need to be well
thought through and rare. it's far from perfect of course but if it
changes often it would be harder.
You could store them as binary. The 0x80 subtype seems like a good
fit. (or 0x03, but there's not much documentation about that subtype)
--
|8]