Cool! Thanks for volunteering. Am I reading that correctly --- that it took 17 minutes and 28 seconds, compared to 10 minutes for Slava's Factor version? That's pretty slow. The next step will be to make the 0 and 1 tries run concurrently. That's my intention with Erlang but I haven't started yet due to being busy with other things.
The RosyCrew site isn't down. I don't know why you weren't able to connect. If you continue to have trouble connecting, let me know in a private email and I will talk to my ISP about the problem. My website (the non-programming parts) is politically-incorrect and it may be getting blocked. Library computers, for example, have software installed that blocks websites that have been black-listed. Mostly that is done to block porn sites, but it is also done to prevent access to sites that critisize the government --- which mine does. These are the files once again: http://www.rosycrew.org/LC53.factor http://www.rosycrew.org/LC53.4th http://www.rosycrew.org/test.txt The test file doesn't matter. Any file of 7-bit ascii will work if it is long enough that only one seed value will encrypt it to the same result. I don't know how long that is, but it is likely around 10-ish bytes, so pretty much any file should be fine. > Message: 2 > Date: Thu, 5 Nov 2009 00:38:53 +0900 > From: Jon Harper <[email protected]> > Subject: Re: [Factor-talk] LC53 --- volunteers needed for porting > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hey, > I translated Slava's program in Haskell. You can find it here : > http://paste.factorcode.org/paste?id=1019 > Please note I have very little haskell experience and it's mostly > rusty, so for all haskell pros here, please don't cry your eyes out! > But please annotate :) > I had trouble with types so I had to cast everything to Integers > before doing Bits operations. That can probably be optimized. > > I couldn't download the test file from rosycrew.com (site is down?) so > I benchmarked it on a random short file. > > $ ghc -o main LC53.hs > $ time ./main > ./main 988,61s user 4,66s system 94% cpu 17:28,24 total > > Slava's factor version runs in 600 seconds on the same file. > > Also, I'm running on : Linux zouglou 2.6.31-14-generic #48-Ubuntu SMP > Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux, with only 1 core ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
