Victor Boivie 9abc4865a4 dcsctp: Use std::deque for outstanding_data
A std::map is a fairly inefficient data structure. Accessing an item
is O(log(N)), but as every item is a separate allocation, iterating it
and searching for items is not very kind to the data caches.

As the outstanding data is a contiguous list (no gaps) where you only
append to the end and remove from the front, use a std::deque instead.

Bug: webrtc:15699
Co-authored-by: Daniel Collins <dpcollins@google.com>
Change-Id: I1f5fe97d06204c75b2b9553856af24e50f2ce715
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/329422
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Victor Boivie <boivie@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41310}
2023-12-04 15:10:15 +00:00
..
2023-11-15 12:10:28 +00:00
2023-11-15 12:10:28 +00:00
2023-11-15 12:10:28 +00:00
2023-10-05 18:48:21 +00:00
2021-05-12 15:06:17 +00:00
2021-04-20 10:42:58 +00:00