Comment #2 on issue 464 by anno.lan...@gmail.com: Inefficient Java handling of repeated list of primitive types
http://code.google.com/p/protobuf/issues/detail?id=464

I produced a different fix that preserves the immutability of the non-builders and, specifically, does not expose the underlying array in the interface. This solution, drags in a dependency to fastutil. I think the people who are concerned about this issue would actually approve of fastutil in their classpath. General protobuf users might be harder to motivate for the additional dependency.

Attachments:
        fastutil-list-types-for-repeated-primitive-field.patch.bz2  2.9 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to