mirror of https://github.com/OISF/suricata
stream/reassembly: optimize GetBlock
Current GetBlock degrees the sbb search from rb tree to
line, which costs much cpu time, and could be replaced by
SBB_RB_FIND_INCLUSIVE. It reduces time complexity from
O(nlogn) to O(logn).
Ticket: 7208.
(cherry picked from commit 951bcff970)
pull/12041/head
parent
4015b3ec5d
commit
ede115fbc1
Loading…
Reference in New Issue