Barry,
I know you explicitly tried to conserve memory and I didn't. Other than that,
I didn't look closely to see why the difference. Even with the different
approach, I would have expected the times to have been a bit closer.
David
----- Original Message ----
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Sent: Wednesday, April 11, 2007 11:06:44 PM
Subject: Re: [Unicon-group] Making the puzzle more interesting...
David Gamey <[EMAIL PROTECTED]> skribis:
> I've attached a version that filters properly as Steve pointed out by looking
> for sets that don't intersect . Also attached is sample output. The final
> count is 12 for the 2024 list.
>
> It's seems to be considerably faster than Barry's solution on my system @
> 30ms/solution .vs. 10495ms/solution.
D'oh! :)
--
Barry.SCHWARTZ ĉe chemoelectric punkto org http://chemoelectric.org
Free stuff / Senpagaj varoj: http://crudfactory.com
'Democracies don't war; democracies are peaceful countries.' - Bush
(http://www.whitehouse.gov/news/releases/2005/12/20051219-2.html)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group