forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
timeutil: remove detritus windows Now() implementation
We carried a custom implementation of timeutil.Now() for Windows, to overcome the low precision of Go's impl [1]. It was doing so with an expensive implementation. Having this custom implementation also make it tricky to use stdlib functions like Since(), which internally use the stdlib Now(). The Golang issue has since been fixed. [1] golang/go#8687 Release note: None
- Loading branch information
1 parent
9968d34
commit 51fe930
Showing
5 changed files
with
6 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters