lichess-org/scalachess

situation calced twice in applyMove

isaacl opened this issue · 0 comments

In applyMove we calc situation for a temporary Game object and then return a new object which also calcs situation.

Perhaps we need a global situation cache instead of a lazy val?