You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@chipweinberger, I will update map_find_and_remove as suggested. I forgot that SLIST_REMOVE does go through the list to remove element unlike TAILQ_REMOVE used in the former implementation. Thanks for noticing :)
General issue report
relevant issue: #11173
[v5.1] [Heap Trace Standalone] hash map uses doubly linked list, but single linked would be better (IDFGH-9846)
In response to that issue^^, we added this code:
however, it uses
SLIST_REMOVE
which causes another traversal. We should have usedSLIST_REMOVE_AFTER
something like this:
The text was updated successfully, but these errors were encountered: