From d0853a5d0b66ab6cb22bd4973f854bc96ff5be31 Mon Sep 17 00:00:00 2001 From: Riobard Date: Sat, 15 Feb 2020 12:59:33 +0800 Subject: [PATCH] Reorder struct fields for 64-bit alignment --- speeddial/dial.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speeddial/dial.go b/speeddial/dial.go index d3bf12e5..f216355d 100644 --- a/speeddial/dial.go +++ b/speeddial/dial.go @@ -23,10 +23,10 @@ func logf(format string, v ...interface{}) { type Dial func() (net.Conn, error) type target struct { - dial Dial last int64 // last dial since epoch latency int64 // exponetially smoothed inflight int32 // number of inflight dial + dial Dial } func (t *target) Dial() (net.Conn, error) {