Comment #4 on issue 198 by ev...@mit.edu: Unnecessarily inefficient calculation of utf-8 encoded lengt
http://code.google.com/p/protobuf/issues/detail?id=198

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 
Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to