Assigning global and static associative arrays
Philippe Sigaud
philippe.sigaud at gmail.com
Fri Aug 31 14:35:40 PDT 2012
On Fri, Aug 31, 2012 at 9:56 PM, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> Except that that allocates a new AA every time that you use dayNumbers. So,
> that's probably a bad idea.
Oh! I keep forgetting that enums are replaced by their values. Then I
think I know where some problem I had came from.
Damn, just tested using a static this and my code runs 40% faster!
Benchmarking time, thanks Jonathan.
More information about the Digitalmars-d-learn
mailing list