• Rahix's avatar
    clock: Don't query wall_time() on the fly · 0d0c99fe
    Rahix authored
    We do know the update timestamp already as it is passed in via
    Clock::update() and saved as Clock.last_tick.  Make use of this value
    instead of calling into a browser API each time.
    0d0c99fe
clock.rs 606 Bytes