Re: $100 Contest Question

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

Kat wrote:
> My new question: It's taking me 143 seconds to load a dictionary with the 
> following code:
> 
> dfilename = "D:\\Gertie\\decypher\\dfile.txt"
> readfile = open(dfilename,"r")
> readline = get(readfile)
> readline = readline[2]
> close(readfile)
> 
> And since i don't see how i can make that any faster, can we *not* count 
> load times for this contest? My puter is a K6-2-233 running win95, so it's 
> prolly the slowest one here (not counting Igor's 386's), but still, i don't
> see
> the load times improving off the hd with faster cpus..

I have a Winchip C6 200Mhz machine and I load 51,802 wordlist in 5 secs
including building several special tables and calculations. I have DMA33
(can do UDMA66), 5200 spin/s, 2MB cache harddisk but this is mainly the matter
of the algorithm. Before tweaking, the time was about 50 secs...

P.S. I think that either David Cuny or Jiri Babor will win #3. Your bets?
P.S.2 Now I know what time_profiling is good for ! I wish I was registered !

    Martin

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

Search



Quick Links

User menu

Not signed in.

Misc Menu