mirror of https://github.com/ekimekim/wubloader
segment parsing: Hand-roll microsecond parsing
float() is inaccurate and Decimal() is very slow (~3x the cpu usage) so instead we right-pad with 0s (eg. so 1.2345 -> 1.234500) then convert to int microsec directly.pull/202/head
parent
31d241eecc
commit
350b29a8cb
Loading…
Reference in New Issue