[JaxPM] computing values vs. storing as hash

Nate Campi nate at campin.net
Wed Jan 2 15:13:54 CST 2002


On the jacksonville-pm-list; Jax.PM'er Nate Campi <nate at campin.net> wrote -

On Wed, Jan 02, 2002 at 03:24:53PM -0500, Bill Jones wrote:
> On the jacksonville-pm-list; Jax.PM'er Bill Jones <sneex at mac.com> wrote -
> 
> >>
> >> You don't really say how many mappings there are?
> >
> > Oh, sorry.
> >
> > 8x24, or 192.
> 
> 
> Um, well, is 192 a lot?  Doesn't seem like that would have any 
> great impact.  How big are the strings data themselves (that are 
> being mapped?)
> 
> Maybe I am missing something here/Sx ???

What I'm dealing with is incoming UDP traffic, so no connection queues,
just a receive buffer that drops packets when it gets full. I want to
make this a lean mean packet-accepting machine.

The strings aren't big (facility/severity syslog strings, remember?).
-- 
Nate Campi     http://www.campin.net    GnuPG key: 0xC17AEF79   

"All programmers are playwrights and all computers are lousy actors."  -Anon.


Jax.PM Moderator's Note:
This message was posted to the Jacksonville Perl Monger's Group listserv.
The group manager can be reached at -- owner-jacksonville-pm-list at pm.org
to whom send all praises, complaints, or comments...




More information about the Jacksonville-pm mailing list