Skip to content

Flip the array of passwords before turning it into a collection #11

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

Closed

Conversation

jkudish
Copy link
Contributor

@jkudish jkudish commented Apr 25, 2017

If flipped after it's been made into a collection, then 2 collections exist in memory, and with 10k items, that consumes a lot of memory. Instead, this performs the flip before it puts into a collection.

Fixes #10

I'll also look into caching the array in a separate PR

If flipped after it's been made into a collection, then 2 collections exist in memory, and with 10k items, that consumes a lot of memory. Instead, this performs the flip before it puts into a collection
@jkudish
Copy link
Contributor Author

jkudish commented Apr 25, 2017

Closing, #12 is a better approach IMO

@jkudish jkudish closed this Apr 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant