Re: [protobuf] Python 3

2014-02-14 Thread Ram Rachum
Thanks Feng.

On one hand I'm happy that Protobuf will support Python 3, on the other
hand having to wait until October-December 2014 will mean that I'll have to
start my project using Python 2, and I'd really like to start it with
Python 3.

Maybe there's a pure-Python implementation of protobuf that'll work in
Python 3? I'm willing to sacrifice speed temporarily just to be able to use
protobuf in Python 3.


On Sat, Feb 15, 2014 at 12:35 AM, Feng Xiao  wrote:

> On Fri, Feb 14, 2014 at 2:18 PM, Ram Rachum  wrote:
>
>> Hi everybody,
>>
>> What's the status of Python 3 support? I'd like to use protocol buffers
>> in my new Python 3.4-based project.
>>
> The next major release will support python 3. It'll probably be released
> in Q3 as protobuf 2.6.0
>
>
>>
>>
>> Thanks,
>> Ram.
>>
>> --
>> 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.
>>
>
>

-- 
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.


Re: [protobuf] Python 3

2014-02-14 Thread Feng Xiao
On Fri, Feb 14, 2014 at 2:18 PM, Ram Rachum  wrote:

> Hi everybody,
>
> What's the status of Python 3 support? I'd like to use protocol buffers in
> my new Python 3.4-based project.
>
The next major release will support python 3. It'll probably be released in
Q3 as protobuf 2.6.0


>
>
> Thanks,
> Ram.
>
> --
> 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.
>

-- 
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.


[protobuf] deserialization with >300 fields in a message causing performance degradation?? Any suggestions

2014-02-14 Thread Suma Shivaprasad
Am using 2.4.1 version of protobuf java with a single message having a flat 
structure with  315 fields within  it as in

message X {

   string field1 = 1;
   string field2 = 2;
   

   string field315 = 315;

}


 Seeing 40-50% degradation while deserializing into into Java object .

Has anyone faced this issue or will upgrading to 2.5 help with this issue. 
 Since we are using this message for reading and writing MR jobs with lot 
of historical data .  We would not want to split the message into multiple 
parts since reads of the historical data would fail. Please suggest what 
can be done about this.






-- 
_
The information contained in this communication is intended solely for the 
use of the individual or entity to whom it is addressed and others 
authorized to receive it. It may contain confidential or legally privileged 
information. If you are not the intended recipient you are hereby notified 
that any disclosure, copying, distribution or taking any action in reliance 
on the contents of this information is strictly prohibited and may be 
unlawful. If you have received this communication in error, please notify 
us immediately by responding to this email and then delete it from your 
system. The firm is neither liable for the proper and complete transmission 
of the information contained in this communication nor for any delay in its 
receipt.

-- 
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.


[protobuf] > 300 string fields in a message having performance degradation during deserialization

2014-02-14 Thread Suma Shivaprasad
Using 2.4.1 version of protobuf java. The message structure is flat and has 
a flat structure with 315 fields as in 

option java_package = ".."

option optimize_for = SPEED;

option java_generate_equals_and_hash = true;

message X {

string field1 = 1;
string field2  = 2;


string field315 = 315;

}


Seeing 40-50% degradation in deserialization performance after the fields 
touched around 280 or so. Please suggest how we can optimize this ? Will 
upgrading to 2.5 help or any other way to optimize this ? 

-- 
_
The information contained in this communication is intended solely for the 
use of the individual or entity to whom it is addressed and others 
authorized to receive it. It may contain confidential or legally privileged 
information. If you are not the intended recipient you are hereby notified 
that any disclosure, copying, distribution or taking any action in reliance 
on the contents of this information is strictly prohibited and may be 
unlawful. If you have received this communication in error, please notify 
us immediately by responding to this email and then delete it from your 
system. The firm is neither liable for the proper and complete transmission 
of the information contained in this communication nor for any delay in its 
receipt.

-- 
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.


[protobuf] Python 3

2014-02-14 Thread Ram Rachum
Hi everybody,

What's the status of Python 3 support? I'd like to use protocol buffers in 
my new Python 3.4-based project.


Thanks,
Ram.

-- 
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.


[protobuf] Re: Issue 570 in protobuf: build 2.4.1 failed on mac os x 10.9

2014-02-14 Thread protobuf


Comment #8 on issue 570 by msaf...@gmail.com: build 2.4.1 failed on mac os  
x 10.9

http://code.google.com/p/protobuf/issues/detail?id=570

Adding #include  worked for me as well.

--
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.