From c965e2ad92409b290a232869c4b323cbf81789a7 Mon Sep 17 00:00:00 2001 From: Jacob Date: Thu, 28 Dec 2023 22:29:45 +0100 Subject: [PATCH] Update an out of date comment --- internal/async/chan_go1.21.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/async/chan_go1.21.go b/internal/async/chan_go1.21.go index d04bb7e3af..7b0407c94e 100644 --- a/internal/async/chan_go1.21.go +++ b/internal/async/chan_go1.21.go @@ -42,7 +42,7 @@ type UnboundedChan[T any] struct { // NewUnboundedFuncChan returns a unbounded channel with unlimited capacity. func NewUnboundedChan[T any]() *UnboundedChan[T] { ch := &UnboundedChan[T]{ - // The size of Func is less than 16 bytes, we use 16 to fit + // The size of Func, Interface, and CanvasObject are all less than 16 bytes, we use 16 to fit // a CPU cache line (L2, 256 Bytes), which may reduce cache misses. in: make(chan T, 16), out: make(chan T, 16),