mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-25 06:35:21 +00:00
f62736dede
Instead of lifting values to interface and then do equality test, compare scalar values with defined types to reduce allocation from interface. Change-Id: Ieb777fbd1a48c83d896d0ebe6ad605433f44c16c Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/253100 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> Trust: Damien Neil <dneil@google.com> Trust: Joe Tsai <thebrokentoaster@gmail.com>