DList efficiency
Boris-Barboris via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jun 8 15:42:14 PDT 2017
Good day to you reader! I have a couple questions about Phobos:
1). Do I understand correctly, that there is currently no way
(aside from editing the sources of course) to efficiently (using
one underlying iteration) remove all\first element(s) from DList
based on a predicate? Can such operation be performed for arrays
using std.algorithm (though in array case it can at least be done
manually)?
2). Was the idea of range types, that allow underlying structure
modification ever considered ("remove element from the collection
being iterated and shift to next element" is first candidate).
3). Is there a container library featuring alternative concepts,
namely, iterators?
More information about the Digitalmars-d-learn
mailing list