-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(2.11) Internal: Small udpates to ipQueue (#5940)
Small updates to ipQueue: - Document that caller must not reuse the slice after call to recycle(). - Reset size to 0 on pop() or last popOne() without need to call q.caclc(). - Added missing recycle() calls in some places. - Added benchmarks to check perf impact on future changes. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
- Loading branch information
Showing
4 changed files
with
269 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.