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

Add popFront/pushFront as preferred/alternate method names instead of shift/unshift #202

Open
TysonAndre opened this issue Nov 12, 2022 · 0 comments
Assignees

Comments

@TysonAndre
Copy link
Owner

For Deque, no elements are being shifted in the underlying collection, unlike array_shift/array_unshift, which take linear time instead of constant time to shift elements in arrays.

See https://externals.io/message/116100#116214

@TysonAndre TysonAndre self-assigned this Nov 12, 2022
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

No branches or pull requests

1 participant