diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-04-01 01:12:32 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-04-04 15:37:37 +0200 |
commit | 4f2e348f9b42c69c480bffd0188502167cf4ad07 (patch) | |
tree | 5fb9d6c07e2488ef599cbd83396810af2212b0c9 /lib/vtls/polarssl_threadlock.c | |
parent | e60fe20fdf94e829ba5fce33f7a9d6c281149f7d (diff) |
hash: move key into hash struct to reduce mallocs
This removes one tiny malloc for each hash struct allocated. In a simple
case like "curl localhost", this save three mallocs.
Closes #1376
Diffstat (limited to 'lib/vtls/polarssl_threadlock.c')
0 files changed, 0 insertions, 0 deletions