[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Profiler output?

From: Jim Segrave
Subject: Re: [Bug-gnubg] Profiler output?
Date: Thu, 4 May 2006 16:39:40 +0200
User-agent: Mutt/

On Thu 04 May 2006 (11:57 +0200), Øystein O. Johansen wrote:
> Has anyone lately runned gnubg through a profiler?
> I would love to see the output.
> A slight guess is that Evaluate and CalcInputs are about
> equally loaded. I think there's more to improve in CalcInputs
> than in Evaluate, so the question is: Whats the slow part of
> CalcInputs?

I haven't run a profiler in a while, but as I recall,
CalculateHalfInputs was a big contributor. I had an idea to replace
the iterative loops over the board arrays with operations using shifts
and masks (probably by making bit maps of blots, blocked points, etc.)
and tables of dice rolls vs moves. However, I haven't been able to get
enough unbroken time to do any serious work other than simple patches
in a long time - the joys of young children, moving houses and changes
in my work.

Jim Segrave           address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]