mirror of https://github.com/OISF/suricata
stream/segments: optimize overlap tree operations
Now that with the RBTREE we have a properly sorted Segment tree, where with exact SEQ matches the tree is sorted by payload_len smallest to largest, we can avoid walking backwards when checking for overlaps. Our direct RB_PREV either overlaps or not and that is a reliable verdict for the rest of the tree.pull/3479/head
parent
26b5e1ed13
commit
00e65e3cfa
Loading…
Reference in New Issue