Re: [protobuf] Performance of java proto buffers

2010-08-22 Thread Evan Jones
On Aug 19, 2010, at 11:45 , achintms wrote: I have an application that is reading data from disk and is using proto buffers to create java objects. When doing performance analysis I was surprised to find out that most of the time was spent in and around proto buffers and not reading data from

[protobuf] Intelligent diff/merge tools for protobuf files

2010-08-22 Thread Sankar
Hi, I am writing an application where I want to store the data in a protocol-buffer format. My client application say X, needs to work offline and stores data in a protocol-buffer format in the local disk. This file is then synchronized with a server. The file in the server can be accessed by a

[protobuf] Re: Reusing proto object in a loop instead of creating new one each time

2010-08-22 Thread Michael Edgar
It's worth noting that this is supported (and commonly done) with the C ++ API. But yeah - you're out of luck with Java. On Aug 21, 12:17 pm, Prakash Rao prakashrao1...@gmail.com wrote: Thanks for your response. I thought of reusing proto messages in loops but it is not supported for a good

Re: [protobuf] Service can only receive one argument

2010-08-22 Thread Evan Jones
On Aug 22, 2010, at 4:36 , omer.c wrote: Can a service receive multiplate arugments or only one? Only one. How can I define a service which will accept both arguments: Create a union message, or define two RPCs. Unions:

[protobuf] Issue 214 in protobuf: Incorrect generic type parameters in java runtime

2010-08-22 Thread protobuf
Status: New Owner: ken...@google.com Labels: Type-Defect Priority-Medium New issue 214 by eugene.vigdorchik: Incorrect generic type parameters in java runtime http://code.google.com/p/protobuf/issues/detail?id=214 What steps will reproduce the problem? See .../GeneratedMessage.java:13