From a285b8999c0d642f720e03933f2647da05be85fe Mon Sep 17 00:00:00 2001 From: flamingcow Date: Tue, 4 Aug 2026 12:53:53 -0700 Subject: [PATCH] Drop the counter padding that was never buying a cache line --- loss.go | 1 - rx.go | 1 - tx.go | 1 - 3 files changed, 3 deletions(-) diff --git a/loss.go b/loss.go index 41fda99..e22f2bb 100644 --- a/loss.go +++ b/loss.go @@ -18,7 +18,6 @@ type lossWindow struct { bits []uint64 lost atomic.Uint64 late atomic.Uint64 - _ [16]byte } func newLossWindows(n int) []lossWindow { diff --git a/rx.go b/rx.go index 5bc0ff7..fd11cdd 100644 --- a/rx.go +++ b/rx.go @@ -15,7 +15,6 @@ type rxStats struct { badLen atomic.Uint64 crcErr atomic.Uint64 rxErrs atomic.Uint64 - _ [16]byte } type rxWorker struct { diff --git a/tx.go b/tx.go index beb281f..757ee5e 100644 --- a/tx.go +++ b/tx.go @@ -10,7 +10,6 @@ type txStats struct { frames atomic.Uint64 bytes atomic.Uint64 errs atomic.Uint64 - _ [40]byte } type txWorker struct {