This introduces a high and low water mark to the buffer in the state engine.
The buffer fills to 1000, then gets cut down to 800, and fills up again.
This improves performance because, once the buffer is full, cutting the buffer every time a new item is added is quite expensive and unnecessary.
Please let me know what you think of this and if we could implement this.
This introduces a high and low water mark to the buffer in the state engine. The buffer fills to 1000, then gets cut down to 800, and fills up again. This improves performance because, once the buffer is full, cutting the buffer every time a new item is added is quite expensive and unnecessary. Please let me know what you think of this and if we could implement this.