镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Use time.perf_counter_ns - #30

Open
mjpieters wants to merge 1 commit into
codewars:masterfrom
mjpieters:perf_counter_ns
Open

mjpieters wants to merge 1 commit into
codewars:masterfrom
mjpieters:perf_counter_ns

Conversation

@mjpieters

Copy link
Copy Markdown

This gives an integer number of nanoseconds, with far greater
precision than the timeit.default_timer == time.perf_counter timer
which provides a float (double) value in seconds.

This gives an integer number of nanoseconds, with far greater
precision than the `timeit.default_timer` == `time.perf_counter` timer
which provides a float (double) value in seconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant