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
ArrayDeque is more optimal than ArrayList when removing elements from from Bucket class. https://github.com/mvogiatzis/first-stories-twitter/blob/master/src/main/java/entities/Bucket.java
An ArrayList shifts all elements upon removal.
The text was updated successfully, but these errors were encountered:
mvogiatzis/first-stories-twitter@a5572cd
Merge pull request #3 from mvogiatzis/develop
0c6e0e2
Fixes #2 - Replaced ArrayList with a queue
No branches or pull requests
ArrayDeque is more optimal than ArrayList when removing elements from from Bucket class.
https://github.com/mvogiatzis/first-stories-twitter/blob/master/src/main/java/entities/Bucket.java
An ArrayList shifts all elements upon removal.
The text was updated successfully, but these errors were encountered: