Convert GeometricMove's predicate to use unboxed closures
stanleydesu opened this issue · 0 comments
stanleydesu commented
If a move's n
value was passed when checking if a sticker satisfies the predicate, the predicate field can become
pub predicate: fn(&Sticker, u32) -> bool>
, which is potentially cleaner/faster than the current boxed dyn implementation.