Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize the getUniques algorithm #13

Open
Awkewainze opened this issue Oct 15, 2020 · 0 comments
Open

Optimize the getUniques algorithm #13

Awkewainze opened this issue Oct 15, 2020 · 0 comments
Labels
enhancement New feature or request Medium Decent amount of work

Comments

@Awkewainze
Copy link
Owner

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!

@Awkewainze Awkewainze added enhancement New feature or request Medium Decent amount of work labels Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Medium Decent amount of work
Projects
None yet
Development

No branches or pull requests

1 participant