Add a comment to explain.

Authored by shlomif on Apr 22 2019, 9:44 AM.

Description

Add a comment to explain.

Sometimes the solver is invoked with a small maximal iterations
quota/limit (e.g: when loading a saved game or checking for autodrop
moves) and it is done frequently, so we return prematurely without
invoking freecell_solver_user_alloc() and friends which incur extra
overhead.

The m_firstMoves should be good enough in that case.

Details

Committed
shlomifApr 22 2019, 9:44 AM
Differential Revision
D20721: Optimize loading freecell games.
Parents
R410:1aaa543eb25a: Optimize loading freecell games.
Branches
Unknown
Tags
Unknown