Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 971 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 971 Bytes

BlockBasedMemoryStream

High-speed FIFO Memory Stream based on fixed-sized memory blocks linked together.

Changelog:

v1.3.2 (2022-09-11):

  • Improved performance when reading a stream to the end by removing an unnecessary reinitialisation of the reusable block array.

v1.3.1:

  • Added a way to clear the pool of blocks, useful for when You are done reading from the Stream and want to remove unnecessary memory consumption.

v1.3.0:

  • Added support for block-pooling, which will reuse blocks with already allocated memory, resulting in increased performance.
  • Fixed bugs.
  • Increased performance through fixing faulty logic.

v1.2.2:

  • Fixed a bug, which would cause the cached length to be less than 0, when reading the stream to the end.

v1.2.1:

  • Fixed a bug where calling the Clear-method would enable LengthCaching, even if it was disabled.

v1.2.0:

  • Added support for Stream.CopyTo(Stream, int).

v1.0.1:

  • Added optional feature: caching of length.