protobuf-go/reflect
Joe Tsai 72980ee410 reflect/protoregistry: add Num methods for every Range method
The Num methods provide an O(1) lookup for the number of entries that Range
would return. This is needed to implement efficient cache invalidation logic
for caches that wrap the global registry.

Change-Id: I7c4ff97f674c4e9e4caae291f017cfad7294856c
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/193599
Reviewed-by: Damien Neil <dneil@google.com>
2019-09-05 18:06:52 +00:00
..
protodesc all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
protoreflect all: remove NewMessage methods 2019-09-05 17:49:46 +00:00
protoregistry reflect/protoregistry: add Num methods for every Range method 2019-09-05 18:06:52 +00:00