Re: $100 Contest Question

new topic     » goto parent     » topic index » view thread      » older message » newer message

----- Original Message ----- 
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
> 
> Euman's hashtable runs at 1.16 but I tweaked that a lot and got it to run at
> 0.22

Yes you did, thanks BIG D

When "I" changed this: 
h *= 16

to this:
h *= 3 -- which doesnt give as Unique a value as before but is still very
effective.

The routine was @250% faster bringing the time from 3.5 sec on my 233mhz to 1.1
sec
This is the routine I was talking about sharing in a month or so.

But when BIG D convinced me that getc( ) would shave another 0.25 sec off the
load time.
I was impressed. He also went a few steps further and now EumsHash runs in at
0.60 sec
on my 233mhz laptop ( at 200mhz desk). I can imagine figures on PIII 500 or
higher machine
being (0.0something) or better now. 

Prolly could beat Junko's Spellchecker I havent coded this so Im not sure.

sure is BLAZING FAST!

Euman

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu