]> Cypherpunks repositories - gostls13.git/commit
time: rewrite IsZero method to use wall and ext fields
authorbaycore <dxasu@qq.com>
Mon, 27 Oct 2025 04:43:32 +0000 (04:43 +0000)
committerKeith Randall <khr@google.com>
Mon, 27 Oct 2025 16:44:55 +0000 (09:44 -0700)
commit189f2c08cc769fdc98d28ec536010b6f119e645f
treec3fdcfc792efee12fd29f2b910951cd1900baa00
parentf619b4a00d6a7ce2fbb84729cdfe764697cb2171
time: rewrite IsZero method to use wall and ext fields

Using wall and ext fields will be more efficient.

Fixes #76001

Change-Id: If2b9f597562e0d0d3f8ab300556fa559926480a0
GitHub-Last-Rev: 4a91948413079047cb6c382ed29844f456f3064d
GitHub-Pull-Request: golang/go#76006
Reviewed-on: https://go-review.googlesource.com/c/go/+/713720
Reviewed-by: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/time/time.go