Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion arrays??
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Henner Zeller  
View profile  
 More options Oct 8 2009, 12:33 pm
From: Henner Zeller <h.zel...@acm.org>
Date: Thu, 8 Oct 2009 09:33:35 -0700
Local: Thurs, Oct 8 2009 12:33 pm
Subject: Re: arrays??
Hi,

>  This is exactly what I've done before putting arrays into a string.
>  When I've implemented arrays via repeated fields, the program was
> even slower,
>  and the file size was too large (compare to Java serialization
> mechanism+ zip).

If you put the values in a string and do you own array management on
top as compared to using a repeated field with packed option, there
should not be a significant difference because it is essentially the
same.
Protobufs don't come with a compression, so if you compare the sizes,
you need to compare compressed Java serialization with compressed
proto serialization.

If you provide an example of what you want to do and what are your
current solutions you compare, people on this list might be able to
help.

-h


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.