Ethereal-dev: Re: [Ethereal-dev] Re: rev 17485: /trunk/epan/: emem.c emem.h

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

Date: Fri, 10 Mar 2006 20:09:34 +0100
The tree turns out to be unbalanced so the search becomes half of a
linear search. For the worst since the keys used for most protocols
increase in time the further you go the slower it becomes.

  0 2 4 8
=1-3-5-7-9

Some of the insertion functions is not correct. Nothing that cannot be
repaired with few lines (if you know where/what to do)!


On 3/10/06, didier <dgautheron@xxxxxxxx> wrote:
> ronnie sahlberg wrote:
> > ok   can you test with  the latest SVN    there are two defines in
> > emem.c   you should remove    WANT_GUARD_PAGES   and
> > DEBUG_USE_CANARIES.
> >
> WANT_GUARD_PAGES undefined, in the noise.
> DEBUG_USE_CANARIES  undefined 3 mn.
>
> with
> WANT_GUARD_PAGES and DEBUG_USE_CANARIES defined 2mn 30
>
> with nfs using hash:
> 53 sec.
>
>
> Note:
> I've only updated emem.c
>
> Didier
>
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>


--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan