Revert "go: Define a bytePool for TRichTransport"
This reverts commit 344498b67f42af38118cc250b0b1ec212f09d927. In our extreme case this actually made things worse. On 30s cpu profiles, although mallocgc reduced from 27.13s to 26.30s, the byte pool itself costed 11.9s. Looking at writeByte and readByte, writeByte increased from 3.69s to 5.89s, and readByte increased from 11.36s to 16.09s.
Y
Yuxuan 'fishy' Wang committed
91d37026c3cd746a70d59bc9881d1a2cd94cf890
Parent: 344498b
Committed by Yuxuan 'fishy' Wang <fishywang@gmail.com>
on 5/1/2024, 4:34:06 PM