Re: [protobuf] Re: intern strings in java

2010-01-19 Thread Daniel Wright
I agree that making a Contract have an int specifying the ContractGroup id looks preferable. If it's very difficult to generate a unique id for each ContractGroup, you could consider using a fingerprint of the string -- of course there's the risk of collisions, but with 64-bit fingerprints that ri

[protobuf] Re: intern strings in java

2010-01-19 Thread Kalle Kärkkäinen
On 19 tammi, 20:31, Kenton Varda wrote: > I'm not sure I understand.  I think you are using the word "group" to mean > something different than what it means in the .proto language.  At least, I > hope so, because the "group" in the .proto language is deprecated. Yes, I've got a domain model cont