coredns/plugin/etcd/msg
Miek Gieben 8a5eb58bc0 msg.Service: optimize a bit (#2374)
Make the NewSRV and friends slightly smarter. Optimize the calling of
targetStrip which is almost certainly not used.

Added benchmark show a modest improvement:

benchmark             old ns/op     new ns/op     delta
BenchmarkNewSRV-4     300           283           -5.67%

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-12-07 12:09:09 -08:00
..
path.go K8s remove string ops (#2119) 2018-09-22 15:12:02 +01:00
path_test.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00
service.go msg.Service: optimize a bit (#2374) 2018-12-07 12:09:09 -08:00
service_test.go msg.Service: optimize a bit (#2374) 2018-12-07 12:09:09 -08:00
type.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00
type_test.go Remove the word middleware (#1067) 2017-09-14 09:36:06 +01:00