diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-09 17:28:50 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-10 11:28:01 +0100 |
commit | 4d247a6cd3f69acbc5a09e8ac7e4fbb50eaa3228 (patch) | |
tree | 048375d3253375464dd0e204cb480e3a7f5d3372 /src/resolve/resolved-dns-cache.c | |
parent | c84e853934cf99a737ef7d3f4ee5d61a1a2a5696 (diff) |
resolved: shortcut RR comparisons if pointers match
When iterating through RR lists we frequently end up comparing RRs and
RR keys with themselves, hence att a minor optimization to check ptr
values first, before doing a deep comparison.
Diffstat (limited to 'src/resolve/resolved-dns-cache.c')
0 files changed, 0 insertions, 0 deletions