JuliaCollections / FunctionalCollections.jl

Functional and persistent data structures for Julia
MIT License
124 stars 34 forks source link

Implement fast multi-item append #62

Open georgematheos opened 4 years ago

georgematheos commented 4 years ago

Currently append is implemented by inserting one item at a time; I think it should be possible to do this faster by adding all elements "at once".

schrauf commented 3 years ago

That would be great, just should be careful if using append!(a::MutableLinkedList,b::MutableLinkedList) from DataStructures.jl as it currently can generate segfaults and infinite loops. Issue #725