thomas-daniels / Chess.NET

[No longer maintained] A .NET chess library, written in C#
MIT License
50 stars 19 forks source link

Add a game status cache #7

Closed thomas-daniels closed 7 years ago

thomas-daniels commented 8 years ago

When getting the GameStatus property, it always recalculates. That is not necessary if we're sure that the status didn't change.

thomas-daniels commented 7 years ago

GameStatus has been replaced for a while already, and all the replacements have caching.