Greetings , in our Java application we use the protobuf object model quite 
a bit. While profiling, I have noticed that simply getting an enum value 
from an object is quite slow. It appears to be caused by the fact that the 
object stores internally an int which must be converted to a java enum on 
ever call to the getter. If the object just stored the enum value directly, 
this would not be necessary. The required translation between int<->enum 
could just be done once on (de)serialization. Wondering if this would 
qualify for a performance request.[image: GetImageAttachment.png]

Thanks

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/1194f092-c4eb-4d17-8f82-ae9f8b4a32a9n%40googlegroups.com.

Reply via email to