InfinityMQ/InfinityMQ — comment on commit a91a0b4607c83cfd3363add680f4c6f2c1fcd95a
File: src/Core/Channels/Framing/Writers/BufferedFrameWriter.cs line 32
By jgoz:

Could you solve this by introducing a BufferPool? The only expensive part of creating a BufferedFrameWriter is in allocating the 1MB buffer streams, so if you let a BufferPool handle that (which, for reconnects, will likely reuse orphaned buffers), you can move the delegate Stream into the constructor.

Thoughts?