Complexity nomenclature

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 3 18:21:12 PST 2015


On 12/03/2015 09:10 PM, Idan Arye wrote:
> The complexities of the operations is a property of the data structure
> being used. If each collection type will have it's own set of method
> names based on the complexity of operations on it, we won't be able to
> have templated functions that operate on any kind of collection(or at
> the very least, these functions will be really tedious to code).

Your premise is right but you reach the negation of the correct 
conclusion. -- Andrei


More information about the Digitalmars-d mailing list