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: Add buffer at any point in the list (not necessarily append) #18

Open
greduan opened this issue May 25, 2015 · 5 comments

Comments

@greduan
Copy link

greduan commented May 25, 2015

I have a use-case where I need to be able to put a new buffer in the middle of the BufferList.

Are there any plans to add this, if not, any chances that it'll be added to the plans? :)

If not, any possible alternatives that could offer this use-case?

Thanks. :)

@mcollina
Copy link
Collaborator

This is an interest use case, but there are no plans to add this functionality (as far as I know, this module is done). I'm 👍 to have this in, if you would like to submit a PR.

I think we might look into add a splice() method, just like arrays. What do you think, @rvagg @jcrugzz?

@rvagg
Copy link
Owner

rvagg commented May 27, 2015

yeah, I like this, but it'll have to come from a PR with some solid tests

@jcrugzz
Copy link
Collaborator

jcrugzz commented May 27, 2015

👍 This sounds cool but tricky to implement efficiently.

@greduan
Copy link
Author

greduan commented May 27, 2015

Looks like I'll be studying the source code now. :)

If I don't go with another approach to solve the problem, I'll be adding this to bl. :)

@greduan
Copy link
Author

greduan commented Jun 13, 2015

FYI, I won't be implementing this myself. For the moment I no longer have a need for BufferLists like this. Feel free to leave this open for other people to know it has been requested and/or implement it.

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

4 participants