Closed qicosmos closed 1 month ago
Potential performance improvement found:
When parsing fixed types, pb directly copies the data into the array (see protobuf source code).
While iguana first copies the data into a number and then pushes it back into the array, resulting in an extra copy operation.
To be improved later.
from_pb is slower than pb::RepeatIguanaTypeMsg ParseFromString.
Need to improve.