]> granicus.if.org Git - curl/commit
llist: replace Curl_llist_alloc with Curl_llist_init
authorDaniel Stenberg <daniel@haxx.se>
Mon, 3 Apr 2017 08:32:43 +0000 (10:32 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 4 Apr 2017 13:27:45 +0000 (15:27 +0200)
commite60fe20fdf94e829ba5fce33f7a9d6c281149f7d
treefbf6694a4d5eda73e885c8e6777abd663f73b53c
parenta68ca63d7313dcc266f92108b2694d43b0afeba7
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
18 files changed:
lib/conncache.c
lib/conncache.h
lib/ftp.c
lib/ftplistparser.c
lib/hash.c
lib/hash.h
lib/llist.c
lib/llist.h
lib/multi.c
lib/multihandle.h
lib/pipeline.c
lib/pipeline.h
lib/transfer.c
lib/url.c
lib/urldata.h
lib/wildcard.c
lib/wildcard.h
tests/unit/unit1300.c