You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bit vector stored in the uchar array stream->tx_ack.
Each bit in this vector represents the ack status of each byte in the circular buffer stream->tx_buf. That is, a bit is '1' iff the corresponding byte in tx_buf has been ack'ed and is no longer required.
Probably the simplest improvement would be to change the type to a ulong array. Then implement branchless versions of the setting and clearing algos. This is likely sufficient
Alternatively, we could track ack ranges, and implement ack range merging and so on. Note that the client can only ack packets, and therefore cannot ack arbitrary bytes of a stream. This means we can link the ack processing with the pkt_meta ranges either logically or directly. This may not be any faster
No description provided.
The text was updated successfully, but these errors were encountered: