mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 11:58:21 +00:00
91eb7d3a63
Profiling shows FindMessageByName spending considerable time in strings.LastIndexByte in FindMessageByURL. This overhead can be avoided by giving FindMessageByName its own implementation not pruning the name string up to the last '/' which can not appear in a protobuf name. Change-Id: Ifec07689f72790ead8b7552cd04dd99fa67b61e4 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/240378 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> |
||
---|---|---|
.. | ||
registry_test.go | ||
registry.go |