| commit | 9abc4865a4fd5b456fd42d5903cda740f033414a | [log] [tgz] |
|---|---|---|
| author | Victor Boivie <boivie@webrtc.org> | Fri Dec 01 19:47:05 2023 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 04 15:10:15 2023 |
| tree | beccc54f6276da87fd651393c8849a17c6488744 | |
| parent | fe66dda7339bb1f868e514fdb847bf41fbca5ab1 [diff] |
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}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.