]> Cypherpunks repositories - gostls13.git/commit
time: optimize big4
authorIlya Tocar <ilya.tocar@intel.com>
Tue, 21 Aug 2018 19:40:01 +0000 (14:40 -0500)
committerIlya Tocar <ilya.tocar@intel.com>
Tue, 21 Aug 2018 20:12:35 +0000 (20:12 +0000)
commit08cc3dc5e70986dde114cb5b22d94848ed1b5419
tree746f92bc317cb003033a16c2d70421ccc7792617
parent30eda6715c6578de2086f03df36c4a8def838ec2
time: optimize big4

Use the same load order in big4 as in encoding/binary.BigEndian.
This order is recognized by the compiler and converted into single load.
This isn't in the hot path, but doesn't hurt readability, so lets do this.

Change-Id: Ib1240d0b278e9d667ad419fe91fa52b23d28cfc0
Reviewed-on: https://go-review.googlesource.com/130478
Run-TryBot: Ilya Tocar <ilya.tocar@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/time/zoneinfo_read.go