[HTTP/2] BlocksQueue
can probably be optimized
#224
Labels
enhancement
The current state be improved
BlocksQueue
can probably be optimized
#224
BlocksQueue
is a fundamental CSR-inspired data structure forHpackHeaders
and any optimization will likely benefitHTTP/2
.It is a circular buffer like
VecDeque
but instead of storing individual elements, it stores chunks of elements that are logically demarcated. Another important feature ofBlocksQueue
is the fact that chunks never intersect boundaries.I am not totally sure but the implementation can probably be optimized to generate more efficient assembly, specially in the "push_front" method.
The text was updated successfully, but these errors were encountered: