• Paul Yang's avatar
    Avoid too much overhead in layout_init (#6716) · c53e5b8e
    Paul Yang authored
    * Avoid initializing primitive fields in layout_init
    
    * Avoid initializing string/bytes/message fields in layout_init
    
    * Lazily create map when needed
    
    * Lazily create repeated fields
    
    * Change layout_init to only do memcpy
    
    * Fix test for php-7.0
    
    * Fix conformance test where default value of string/message map is not encoded
    
    * Fix test for zts
    
    * Clean up
    
    * Fix comments
    c53e5b8e
storage.c 39.8 KB