So how do I find and remove an element from DList?

Ogi ogion.art at gmail.com
Fri Jul 10 20:06:39 UTC 2020


On Friday, 10 July 2020 at 19:23:57 UTC, Steven Schveighoffer 
wrote:
> It's not linear over the size of the list, it's linear over the 
> size of the range.
>
> If you are always removing 1 element, it's effectively O(1).
>
> -Steve

I see. Thanks!


More information about the Digitalmars-d-learn mailing list