[datatable-help] Non-integer key?

Leon Baum leonbaum2 at gmail.com
Mon Aug 15 04:33:44 CEST 2011


Chris Neff <caneff at gmail.com> writes:

> Have you seen the ITime class (also IDate and IDateTime)? Meant for
> this purpose.
>

Yes, I looked at it briefly, but it appears ITime can only handle
whole-second precision.

Perhaps it would be possible to modify IDate/ITime to store time as whole
milliseconds, but in the numeric type. This change would allow it to
store any reasonable date/time in milliseconds, but data.table could
still use radix sorting. Thoughts?

-Leon


More information about the datatable-help mailing list