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

Updates to DList #584

Merged
merged 10 commits into from
Jan 28, 2024
Merged

Updates to DList #584

merged 10 commits into from
Jan 28, 2024

Conversation

gusty
Copy link
Member

@gusty gusty commented Jan 15, 2024

This code is a bit old and is claiming for some attention.
Also it's important to note there are some false statements in the comments: walking the DList is not O(n) but O(2n).
The advantage of DList is that it can add and also append lists in O(1), whereas append for other collections is slower.

@gusty gusty marked this pull request as ready for review January 15, 2024 20:28
@gusty gusty force-pushed the gus/dlist-update branch 4 times, most recently from aee396c to 6ead245 Compare January 17, 2024 14:58
@gusty gusty merged commit 39c9cb4 into master Jan 28, 2024
6 checks passed
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