aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_memrchr.h
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2019-01-20 21:59:04 +0100
committerDaniel Gustafsson <daniel@yesql.se>2019-01-20 21:59:04 +0100
commitf0b2c13a9eb897374cc5d8f6f94d434820b01f9e (patch)
tree74a5464875cc14ec5678ec19d130e04408ed979b /lib/curl_memrchr.h
parent6bd5bc97f4d28e8d1b5593d1678ab2dbf23f34bf (diff)
memcmp: avoid doing single char memcmp
There is no real gain in performing memcmp() comparisons on single characters, so change these to array subscript inspections which saves a call and makes the code clearer. Closes #3486 Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Jay Satiro <raysatiro@yahoo.com>
Diffstat (limited to 'lib/curl_memrchr.h')
0 files changed, 0 insertions, 0 deletions