|
From: Darrin T. <dar...@gm...> - 2009-07-30 20:13:06
|
On Thu, Jul 30, 2009 at 10:48 AM, Paul Moore<p.f...@gm...> wrote: > [1] Simulate dealing and scoring a cribbage hand, many millions of > times. Gather stats on the distributions of the results. Bonus points > for making the hand generation and scoring procedures easy for the > user to fiddle with (that bit seriously hurts languages with high > function call overheads!) > Don't underestimate factor without the very very latest compiler improvements. I've been pleasantly surprised with the speed of naive code. -- Darrin |