bugGoatee - Bugs: bug #42676, Skip mark-clearing (and...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #42676: Skip mark-clearing (and list-copying) if marks are not present

Submitted by:  Bryan Gardiner <khumba>
Submitted on:  Thu 03 Jul 2014 09:52:03 PM UTC  
 
Category: LibrarySeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bryan Gardiner <khumba>
Open/Closed: ClosedRelease: None
Fixed Release: 0.3.0

Wed 14 Jan 2015 02:33:47 AM UTC, comment #1:

Fixed in 8e400be.

http://git.savannah.gnu.org/cgit/goatee.git/commit/?id=8e400bea515c2a030478e790c1c821240d250bdf

Bryan Gardiner <khumba>
Project AdministratorIn charge of this item.
Thu 03 Jul 2014 09:52:03 PM UTC, original submission:

Khumba.Goatee.Sgf.Board:

> boardChild :: BoardState -> BoardState
> boardChild board =
> board { boardCoordStates = map (map clearMark) $ boardCoordStates board


There's no need to map and create new lists if the board has no marks on it. Keep track of whether a BoardState has marks and branch on this. This should save recreating the boardCoordStates lists fully for every BoardState in a cursor.

Bryan Gardiner <khumba>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by khumba (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 Mar 2015 05:15:07 AM UTCkhumbaOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>0.3.0
    Wed 14 Jan 2015 02:33:47 AM UTCkhumbaStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1