And one more thing:
I can't find a way to set an array directly to the IntArrayList.
There addAll() method could be used, but I can't find a way to
instantiate a new IntArrayList...


Regards,

Johannes

On 17.08.2016 12:22, Johannes Schneider wrote:
> Hi folks,
> 
> 
> while trying out protocol buffers I run into the "boxing problem". I
> have a lot of primitive arrays I want to serialize. And I do not want to
> pay the overhead for boxing/unboxing.
> 
> When setting
> option optimize_for = LITE_RUNTIME;
> the compiler generates code using special implementations for the
> primitive types.
> 
> Is there a way to get these optimizations without "LITE_RUNTIME"? I
> don't fear the additional jar size and don't want to miss out on some
> features (while I am not exactly missing one yet).
> 
> 
> Any ideas?
> 
> 
> 
> Thanks,
> 
> Johannes
> 

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to