CubeSimRS icon indicating copy to clipboard operation
CubeSimRS copied to clipboard

Convert GeometricMove's predicate to use unboxed closures

Open stanleydesu opened this issue 3 years ago • 0 comments

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.

stanleydesu avatar Oct 25 '21 03:10 stanleydesu