That would be my address, yes. But if this is a large amount of code, I
don't have time to go through it. You really need to narrow it down to
something small which can be easily debugged.
I recommend writing a benchmark which times *only* the parsing and
serialization steps, with protocol
On Thu, Sep 10, 2009 at 12:51 AM, SuKai sukai090...@gmail.com wrote:
In this page
http://code.google.com/intl/zh-CN/apis/protocolbuffers/docs/cpptutorial.html,
Parsing and Serialization section,
* |bool SerializeToString(string* output) const;|: serializes the
message and stores the
Kent I did bench mark only those steps(parsing and serialization
withthe size of encoded message), the code is not all that vast just
dint want to paste it here due to readability issues..will email it
to your account..Thanks a lot for your response kent
On Sep 10, 11:08 am, Kenton Varda
Hi,
On Thu, Sep 10, 2009 at 4:16 PM, George Georgiev
georgi.georg...@citrix.com wrote:
Hi,
Is there a way to tell to protoc to recompile the files only if the output
files are missing or are older than the input file?
Isn't this what makefiles are for ?
-h
Hi,
On Thu, Sep 10, 2009 at 4:26 PM, George Georgiev
georgi.georg...@citrix.com wrote:
Sure, but it is really hard for me to prepare something general since the
java output files are located in a different folders based on the package
specified in the proto file.
I think it will be easier
On Thu, Sep 10, 2009 at 4:36 PM, Henner Zeller h.zel...@acm.org wrote:
Hi,
On Thu, Sep 10, 2009 at 4:26 PM, George Georgiev
georgi.georg...@citrix.com wrote:
Sure, but it is really hard for me to prepare something general since the
java output files are located in a different folders based
Doesn't make any sense to me. Let me know if you find a solution.
On Mon, Sep 7, 2009 at 8:16 AM, Brice Figureau
brice...@daysofwonder.combrice%2...@daysofwonder.com
wrote:
Hmm, more information on the issue below:
On Mon, 2009-09-07 at 16:52 +0200, Brice Figureau wrote:
I'm using
Hi,
On Thu, Sep 10, 2009 at 4:51 PM, Kenton Varda ken...@google.com wrote:
On Thu, Sep 10, 2009 at 4:36 PM, Henner Zeller h.zel...@acm.org wrote:
Hi,
On Thu, Sep 10, 2009 at 4:26 PM, George Georgiev
georgi.georg...@citrix.com wrote:
Sure, but it is really hard for me to prepare something
On Thu, Sep 10, 2009 at 4:59 PM, George Georgiev georgi.georg...@citrix.com
wrote:
So you suggest if I change the java package in a proto file, I to update
the makefile too?
That seems reasonable to me. If you changed the package of any of your
other Java files it would mean moving source
Henner Zeller wrote:
And if you do it from an ant-buildfile (often used
in java projects) then it would be as well hard as ant has not really
a notion of file-dependencies (yeah, ant sucks as build-tool).
Perhaps you are looking for uptodate or dependset
-O
That seems reasonable to me. If you changed the package of any of your other
Java files it would mean moving source code around which would certainly
require updating the makefile.
for me too, but some colleagues find this as extra pain
Another idea is to have protoc output the .java files
11 matches
Mail list logo