kubernetes/pkg/registry/core/service/allocator
Tom Payne 21755f9ec0 Speed up counting of bits in allocator
Benchmark:

goos: linux
goarch: amd64
pkg: k8s.io/kubernetes/pkg/registry/core/service/allocator
cpu: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz

Before:

BenchmarkCountBits-8     9459236               140.4 ns/op

After:

BenchmarkCountBits-8    140667842                9.541 ns/op
2021-10-01 17:09:56 +02:00
..
storage Introduce storagebackend.ConfigForResource 2021-09-01 16:54:26 -04:00
bitmap_test.go Remove unused NewContiguousAllocationMap 2021-08-15 14:12:14 -07:00
bitmap.go Remove unused NewContiguousAllocationMap 2021-08-15 14:12:14 -07:00
interfaces.go Propagate error from NewEtcd 2019-08-14 16:46:23 -07:00
utils_test.go Add extra test and benchmark for count bits 2021-10-01 17:08:36 +02:00
utils.go Speed up counting of bits in allocator 2021-10-01 17:09:56 +02:00