bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Update rollout stats once a second?


From: Jon Kinsey
Subject: Re: [Bug-gnubg] Update rollout stats once a second?
Date: Tue, 11 Apr 2006 09:28:16 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/0.7.3.0

Ian Shaw wrote:
> Jon Kinsey on 11 April 2006 09:02
>> Christian Anthon wrote:
>>> On Mon, Apr 10, 2006 at 05:27:07PM +0100, Jon Kinsey wrote:
>>>> I noticed that the rollout dialog appears a bit "flickery" as the 
>>>> numbers are constantly being updated (5 or more time a 
>> second).  I've 
>>>> got a very simple change to restrict the update to a 
>> certain time - 
>>>> currently once a second.
>>>>
>>>> Anyone got any thoughts on this either way before I check it in?
>>> Once a second is more than often enough. The only important 
>> thing is 
>>> that the check causes as little delay as possible.
>> It looks like it might speed things up - checking the time is 
>> significantly quicker than updating all the fields.  A very 
>> quick/rough test just ran almost 10% more trials in a minute 
>> - I'll try a bigger rollout and see.
>>
> 
> I reckon you could get away with a longer interval than once a second.
> Does a 0-ply rollout take less than that. Two ply rollouts certainly
> take a lot longer. The 2-ply rollout I have on at the moment is taking
> at least 30 seconds per play.
> 
> Of course, there is a diminishing increase in effiency as the update
> time increases. A 10% increase @ 1 seconds won't escalate linearly.

Yes, you're right - there won't be any increase for deeper ply rollouts
(or more correctly, the rollout isn't slowed down by screen updates).

Oystein: The progress bar is updated only once a second, I guess you're
wondering if it will look jerky for really quick rollouts, I don't think
it really matters (if the rollout is that quick it'll be over almost
straight away anyway).

I'll check it in (if I get my wireless network working at home...) later.

Jon

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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