llist: replace Curl_llist_alloc with Curl_llist_init #1381

Closed
wants to merge 1 commit into
from

Projects

None yet

1 participant

@bagder
Owner
bagder commented Apr 3, 2017

No longer allocate the curl_llist head struct for lists separately.

Removes 17 (15%) tiny allocations in a normal "curl localhost" invoke.

It also makes a nice summary: 214 insertions(+), 310 deletions(-). 100 lines removed!

@bagder bagder llist: replace Curl_llist_alloc with Curl_llist_init
No longer allocate the curl_llist head struct for lists separately.

Removes 17 (15%) tiny allocations in a normal "curl localhost" invoke.
be32250
@bagder bagder added a commit that closed this pull request Apr 4, 2017
@bagder bagder llist: replace Curl_llist_alloc with Curl_llist_init
No longer allocate the curl_llist head struct for lists separately.

Removes 17 (15%) tiny allocations in a normal "curl localhost" invoke.

closes #1381
e60fe20
@bagder bagder closed this in e60fe20 Apr 4, 2017
@bagder bagder deleted the bagder/remove-llist_alloc branch Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment