rocicorp / repc

The canonical Replicache client, implemented in Rust.
Other
31 stars 7 forks source link

No need to use performance.now in browser_timer.rs #331

Open arv opened 3 years ago

arv commented 3 years ago

performance.now() gives the time since start of the webpage in ms and fractions. We round this in rust to ms so we might as well use Date.now()... Or change Timer to use f64 instead