Ethereal-dev: Re: [Ethereal-dev] Re: value_string

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 30 Aug 2005 19:43:15 +0200
On Tue, Aug 30, 2005 at 12:55:53PM +1000, ronnie sahlberg wrote:
> Dropping the const qualifier would be a relatively easy thing to do.

I'm still not convinced that this will result in any gain, because the
overhead of bookkeeping and swapping will also be quite large.
Do you have any statistics on value_string lengths?
Also, if we want to change things, then maybe putting things into a
more efficient data structure like trees might be a solution. That way,
we could leave the arrays as is and then just call a function
treefromvaluestring(value_string) and use that instead.

 ciao
    Joerg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.