ObjC: small improvement to extension serialization.
For messages that have multiple extension ranges, this will improve things by avoiding repeated work. For messages with a single range, it should be a wash. - Sort the list of set extensions once during serialization and reuse the list. - Break out of the serialization loop as soon as the loop has moved pasted at accepted range for field ids.
Showing
Please
register
or
sign in
to comment