Re: $100 Contest Question
- Posted by Kat <gertie at PELL.NET> Mar 03, 2002
- 440 views
On 4 Mar 2002, at 13:39, Derek Parnell wrote: > > Hey Kat, > who says that any of my code would be faster than yours when run on your > machine? For that matter, if your code was run on my machine, who says that it > would be slower than my code? > > Don't concede on the basis of your own hardware platform. The contest will be > run on Robert's platform anyhow! > > The idea is to improve our Euphoria skills, not to see who has the beefiest > machine. I know, but i can't account for some speed differences of 140x between us. Or why me loading a 1meg file uses 5megs of memory, or when i save it, it uses 6megs. Granted, you have better hardware, and even Eumans's laptop is probably newer, but even considering you two running pio mode 4+ and/or wide scuzzy harddrives, all i can guess is you are better programmers. My cap's off to you. Kat > 4/03/2002 12:02:36 PM, Kat <gertie at PELL.NET> wrote: > > > > >On 4 Mar 2002, at 10:20, Derek Parnell wrote: > > > >> > >> ----- Original Message ----- > >> From: "Ray Smith" <smithr at ix.net.au> > >> To: "EUforum" <EUforum at topica.com> > >> Sent: Monday, March 04, 2002 9:47 AM > >> Subject: RE: $100 Contest Question > >> > >> > >> > My PC at work (PIII 650 Windows 2000 Professional) does this > >> > in 2.36 seconds (for a 4,121,548 bytes sized file) > >> > > >> > >> Okay, so I took the bait. I've now got it down from 4.33 seconds to 1.7 > >> seconds for that 4,267,462 byte file. > > > >Ok, i bow out of the contest. It takes me 434 seconds (over 7 minutes) just > >to > >load a dictionary into memory. Building the dictionary from 3 files takes 72 > >minutes. I took the premunge time to sort words by length, and i load only > >words corresponding in length to words present in the cyphered line. You are > >getting times 10x to 140x faster than i am. I concede. > > > >Kat > > > > > --------- > Cheers, > Derek Parnell > > > >