Files
coredns/plugin
Miek Gieben e6d02a3fd2 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>
2018-10-29 08:13:39 -07:00
..
2018-10-18 21:42:53 +00:00
2018-07-19 16:23:06 +01:00
2018-10-29 08:13:39 -07:00
2018-07-19 16:23:06 +01:00
2018-07-19 16:23:06 +01:00
2018-09-19 08:16:04 +01:00
2018-09-22 15:12:02 +01:00
2018-09-19 10:36:41 -04:00
2018-07-19 16:23:06 +01:00
2018-10-22 18:30:42 +01:00
2018-08-14 08:55:55 -07:00
2018-08-21 11:52:25 -04:00
2018-07-19 16:23:06 +01:00
2018-07-19 16:23:06 +01:00
2018-08-14 08:55:55 -07:00
2018-08-14 08:55:55 -07:00
2018-07-28 10:32:13 +01:00
2018-07-19 16:23:06 +01:00
2018-07-20 19:45:17 +01:00
2018-07-19 16:23:06 +01:00
2017-10-24 10:16:03 +01:00
2018-09-19 08:16:04 +01:00