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/204/head
parent
41d85b8614
commit
9d8c47377f
Loading…
Reference in New Issue