You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In generated cpp code, is it ok to use 'switch' for 'oneof' in method 'SerializeWithCachedSizes', 'SerializeWithCachedSizesToArray' and 'IsInitialized '? If the field num is too many in a 'oneof',this can reduce time cost.
The text was updated successfully, but these errors were encountered:
There's no need for oneof sizers to compute the size of the tag/wire
varint, since it can be computed at proto compile time instead (and it
is typically a small number like 1 or 2).
In generated cpp code, is it ok to use 'switch' for 'oneof' in method 'SerializeWithCachedSizes', 'SerializeWithCachedSizesToArray' and 'IsInitialized '? If the field num is too many in a 'oneof',this can reduce time cost.
The text was updated successfully, but these errors were encountered: