Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: skip Curl_llist_destroy calls #10764

Closed
wants to merge 1 commit into from
Closed

lib: skip Curl_llist_destroy calls #10764

wants to merge 1 commit into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Mar 14, 2023

Linked lists themselves do not carry any allocations, so for the lists that do not have have a set destructor we can just skip the *_destroy() call.

Linked lists themselves do not carry any allocations, so for the lists
that do not have have a set destructor we can just skip the *_destroy()
call.
@bagder bagder added the tidy-up label Mar 14, 2023
@bagder bagder closed this in e5e8815 Mar 14, 2023
@bagder bagder deleted the bagder/llist-opt branch March 14, 2023 23:10
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
Linked lists themselves do not carry any allocations, so for the lists
that do not have have a set destructor we can just skip the
Curl_llist_destroy() call and save CPU time.

Closes curl#10764
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

1 participant