aboutsummaryrefslogtreecommitdiff
path: root/ADOPTERS.md
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-10-29 15:13:39 +0000
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2018-10-29 08:13:39 -0700
commite6d02a3fd25831fc68e5c6f2bf9b779098ef8b98 (patch)
tree305823ab8d1ba4e0e156209367cc4d201cd59c87 /ADOPTERS.md
parent29f42053643325bf0c23ae8da47362ea1a7650e0 (diff)
downloadcoredns-e6d02a3fd25831fc68e5c6f2bf9b779098ef8b98.tar.gz
coredns-e6d02a3fd25831fc68e5c6f2bf9b779098ef8b98.tar.zst
coredns-e6d02a3fd25831fc68e5c6f2bf9b779098ef8b98.zip
cache: some optimizations (#2247)
Remove some optimization and lowercasing of the qname (in the end miekg/dns should provide a fast and OK function for it). * remove the make([]byte, 2) allocation in the key() * use already lowercased qname in hash key calculation. % benchcmp old.txt new.txt benchmark old ns/op new ns/op delta BenchmarkCacheResponse-4 9599 8735 -9.00% Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'ADOPTERS.md')
0 files changed, 0 insertions, 0 deletions