Comment #4 on issue 198 by ev...@mit.edu: Unnecessarily inefficient
calculation of utf-8 encoded lengt
It makes every generated message class bigger, because now every String
field must have a both String and a ByteString cache. Additionally it
generates a bit more code, in order to store the cached ByteString while
calling ByteSize, and to clear the cache after serialization. Thus, it
increases both the .class and memory footprint somewhat.
You received this message because you are subscribed to the Google Groups "Protocol
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at