• Thomas Van Lenten's avatar
    ObjC: small improvement to extension serialization. · ffa6bfc0
    Thomas Van Lenten authored
    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.
    ffa6bfc0
GPBMessage.m 126 KB