]> git.ipfire.org Git - thirdparty/curl.git/commit
urldata: convert bools to bitfields and move to end
authorDaniel Stenberg <daniel@haxx.se>
Mon, 25 Feb 2019 10:17:53 +0000 (11:17 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 27 Feb 2019 07:37:56 +0000 (08:37 +0100)
commit62a2534e4c31109b618a633db0970553c70d8061
tree306c55291c9dbc4736835f1e1e32947f5bdf5a33
parent50482b8c0a2cf5315e66d182998c8fc4901ffb2d
urldata: convert bools to bitfields and move to end

This allows the compiler to pack and align the structs better in
memory. For a rather feature-complete build on x86_64 Linux, gcc 8.1.2
makes the Curl_easy struct 4.9% smaller. From 6312 bytes to 6000.

Removed an unused struct field.

No functionality changes.

Closes #3610
lib/connect.c
lib/ftp.c
lib/http.c
lib/setopt.c
lib/urldata.h