Thanks to visit codestin.com
Credit goes to github.com

Skip to content

WAIT time is not precise enough #42

@Oldes

Description

@Oldes

Hi,

just would like to let you know, that with this commit: f397fae
you introduced regression that wait with just time value is not precise enough.

Before:

>> t: now/time/precise wait 0.001 now/time/precise - t
== 0:00:00.001

>> t: now/time/precise wait 0.001 now/time/precise - t
== 0:00:00.001

>> t: now/time/precise wait 0.002 now/time/precise - t
== 0:00:00.002

>> t: now/time/precise wait 0.002 now/time/precise - t
== 0:00:00.002

Now:

>> t: now/time/precise wait 0.001 now/time/precise - t
== 0:00:00.002

>> t: now/time/precise wait 0.001 now/time/precise - t
== 0:00:00.01

>> t: now/time/precise wait 0.001 now/time/precise - t
== 0:00:00.01

>> t: now/time/precise wait 0.001 now/time/precise - t
== 0:00:00.019

>> t: now/time/precise wait 0.002 now/time/precise - t
== 0:00:00.014

>> t: now/time/precise wait 0.002 now/time/precise - t
== 0:00:00.01

(tested on Windows)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions