DList efficiency

Boris-Barboris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 8 15:57:32 PDT 2017


On Thursday, 8 June 2017 at 22:42:14 UTC, Boris-Barboris wrote:
> 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?

Oh, sorry, I guess I didn't search thoroughly enough:
https://github.com/dlang/phobos/blob/master/std/container/dlist.d#L769


More information about the Digitalmars-d-learn mailing list