Re: Hash Function

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

Jason Gade wrote:
[snip]
> After that, my biggest challenge has been figuring out how to (quickly) make a
> list
> of words
> sorted by frequency.
> 

Here comes a tip which may be very helpful:

The solution is quite simple - don't sort more than necessary.
My sorting uses almost no cpu time.
And while writing this I got an idea on how to make it faster :)

Regards, Alexander Toresson

Shhh! Be vewy quiet! I'm hunting wuntime ewwows!

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

Search



Quick Links

User menu

Not signed in.

Misc Menu