Closed Geigerkind closed 3 years ago
(for my own reference) I also want to update it since htslib
returns u64 as coordinates.
@Geigerkind A new release will be coming in the next week or so. Thanks for making an issue!
@Geigerkind see v0.5.0, which makes Interval<T>
now Interval<I, T>
where I: Unsigned + PrimInt + Ord
(any unsigned number type. see num-traits
crate for details in case you want to implement your own numeric type for the timestamps.
But both u64
and u128
work now. Also, all the return types of various methods match I
.
Performance wise there were no regressions.
lmk if you run into any issues.
I use it for timestamp intervals which are in ms.