From cdda4f932d89dd7a470cfbaffc068e0739ccbb0e Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 19 Nov 2025 20:52:33 -0500 Subject: [PATCH] Remove stale comment --- metadapta.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/metadapta.go b/metadapta.go index de9bcc1..ab0866d 100644 --- a/metadapta.go +++ b/metadapta.go @@ -279,12 +279,6 @@ func (this *transA) SendWriter(method uint16) (io.WriteCloser, error) { // create new writer writer := &writerA { parent: this, - // there is only ever one writer at a time, so they can all - // share a buffer - // FIXME: use a buffer pool, and just reset the buffers before putting them - // back in. it will work just fine bc we dont ever allocate more than the chunk - // size anyway. perhaps create some sort of config value that disables this - // behavior and just uses one buffer buffer: bufferPool.Get().(*bytes.Buffer), method: method, chunkSize: defaultChunkSize,