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

Feature Request: Delete List element #19

Open
guenhter opened this issue May 7, 2021 · 2 comments
Open

Feature Request: Delete List element #19

guenhter opened this issue May 7, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@guenhter
Copy link

guenhter commented May 7, 2021

Currently there is no easy way to delete an element from a list.
Only recreating the list can be done what is very annoying.

Something like this would be very helpful:

l = l.Delete(1) // Deletes the element at index 1
@benbjohnson
Copy link
Owner

The way List is structured, there's not really a great way to optimize for deletions other than rebuilding.

@guenhter
Copy link
Author

guenhter commented May 7, 2021

Even though internally it is not great to optimize it would be very convenient to provide this so that the users don't have to do the rebuilding on their own.

@benbjohnson benbjohnson added the enhancement New feature or request label Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants