RE: [protobuf] Java UTF-8 encoding/decoding: possible performance improvements

2010-06-01 Thread David Dabbs
Even with the extra call to access the offset, I would think there would be some advantage to not making the data copies, which generate garbage cruft. Am interested in your patch whenever it surfaces. I seem to remember you saying that using an Encoder/Decoder didn't pay off when the number of

Re: [protobuf] Java UTF-8 encoding/decoding: possible performance improvements

2010-06-01 Thread Evan Jones
On Jun 1, 2010, at 2:29 , David Dabbs wrote: Even with the extra call to access the offset, I would think there would be some advantage to not making the data copies, which generate garbage cruft. However, the way I am doing it doesn't generate any garbage: I keep a temporary char[]

[protobuf] Issue 193 in protobuf: need help for Protobuf

2010-06-01 Thread protobuf
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 193 by j.boand: need help for Protobuf http://code.google.com/p/protobuf/issues/detail?id=193 What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? Please use labels and text

[protobuf] Questions/Ideas about Protobuf

2010-06-01 Thread bnh
I'm using a protobuf as the protocol for a distributed system.But now I have some questions about protobuf a.Whether protobuf provides the inteface for user-defined allocator because sometimes I find 'malloc' cost too much? I've tried TCmalloc, but I think I can optimize the memory allocation

[protobuf] using the new plugin infrastructure

2010-06-01 Thread marcmo
hello, i'm trying to make use of the compiler plugin infrastructure that was released with 2.3.0. using the c++ api to access the elements in a *.proto file seems straight forward and i got a small example working. but i have trouble to use the insertion points correctly. can anybody provide a

[protobuf] Re: Issue 193 in protobuf: need help for Protobuf

2010-06-01 Thread protobuf
Updates: Status: Invalid Comment #1 on issue 193 by jas...@google.com: need help for Protobuf http://code.google.com/p/protobuf/issues/detail?id=193 You need to provide more information about the problems you are having. To start with, send your question to protobuf@googlegroups.com -

Re: [protobuf] Implementing protobuf in symbian

2010-06-01 Thread Jason Hsueh
Can you provide more details? What commands are you running, and what are your errors? In your previous thread it sounded like you were using C++, but now you mention Java - which language are you trying to use? Also, are you attempting to use the lite library or the full library? It seems most

[protobuf] Re: Issue 192 in protobuf: C++0x conformance issue: using reserved keyword 'nullptr' as a name of variable

2010-06-01 Thread protobuf
Updates: Status: NeedPatchFromUser Owner: --- Comment #1 on issue 192 by jas...@google.com: C++0x conformance issue: using reserved keyword 'nullptr' as a name of variable http://code.google.com/p/protobuf/issues/detail?id=192 We haven't started compiling with c++0x yet, can

[protobuf] Re: Issue 192 in protobuf: C++0x conformance issue: using reserved keyword 'nullptr' as a name of variable

2010-06-01 Thread protobuf
Comment #2 on issue 192 by vdolya: C++0x conformance issue: using reserved keyword 'nullptr' as a name of variable http://code.google.com/p/protobuf/issues/detail?id=192 Yes. It's in attached file. Attachments: nullptr_reserved.patch 1.4 KB -- You received this message because you

[protobuf] Re: Issue 191 in protobuf: I suggest a DebugXmlString interface to the Message class

2010-06-01 Thread protobuf
Updates: Status: WontFix Owner: --- Labels: -Type-Defect Type-Enhancement Comment #1 on issue 191 by jas...@google.com: I suggest a DebugXmlString interface to the Message class http://code.google.com/p/protobuf/issues/detail?id=191 XML output can be implemented on

Re: [protobuf] Getting bunch of errors, when running protobuffers tests

2010-06-01 Thread Kenton Varda
Yes, some of the tests are explicitly testing error cases, which causes error messages to be logged. If they say they passed in the end, then they passed. On Tue, Jun 1, 2010 at 4:25 PM, Vitalii Dolia vdo...@gmail.com wrote: Hi, When running protobuf tests I'm getting bunch of errors