Skip to content

Convert GeometricMove's predicate to use unboxed closures #68

@stanleydesu

Description

@stanleydesu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions