Notes 5, GC performance

bearophile bearophileHUGS at lycos.com
Thu Apr 17 02:16:52 PDT 2008


Janice Caron:
>? That works for AAs, regular arrays, and any class which overloads opApply with two variables.<

Generally you can't be sure an iterable class/struct supports two indexes too (for example my hyper-fast primes generator doesn't offer the index argument too to avoid code duplication).

Bye,
bearophile



More information about the Digitalmars-d mailing list