Rewrite timestamp handling to support different representations.
authorDerrik Pates <demon@now.ai>
Fri, 2 Mar 2012 05:56:46 +0000 (22:56 -0700)
committerDerrik Pates <demon@now.ai>
Fri, 2 Mar 2012 05:56:46 +0000 (22:56 -0700)
commitbdcd0a693ecaf85db36f3611d50eaa38f95eed9b
treeec8faf40ce8b1f761df1f4ef6922415d1bcb7c40
parent8f0afd10791cfb7172d79ed4a33c160b828b6a31
Rewrite timestamp handling to support different representations.

Instead of just allowing sub-second resolution times to be passed
as the fractional part of a floating point value, also support passing
times as an array ref, with separate second and nanosecond portions.
Decided to do this because the floating point representation can lose
precision (it's represented internally as a double). It tends to get
squirrelly around about a tenth of a microsecond.
Fuse.xs