diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2019-01-20 21:59:04 +0100 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2019-01-20 21:59:04 +0100 |
commit | f0b2c13a9eb897374cc5d8f6f94d434820b01f9e (patch) | |
tree | 74a5464875cc14ec5678ec19d130e04408ed979b /packages | |
parent | 6bd5bc97f4d28e8d1b5593d1678ab2dbf23f34bf (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 'packages')
0 files changed, 0 insertions, 0 deletions