Skip to content

Optimize the getUniques algorithm #13

Description

@nova-nybbles

https://github.com/Awkewainze/FriendBot/blob/main/src/utils/array.ts#L69

Nick was interested in this one, but if anyone wants to take a crack at making it faster/cleaner, go for it.

Honestly, I wasn't too worried about it since I made it for an array of 7 values, so speed wasn't such a big deal, but for people who like algorithms, it could be pretty fun!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    MediumDecent amount of workenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions