enum, immutable or const for run-time constants?

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jan 26 12:04:58 PST 2015


What's the preferred way of declaring run-time constant values in 
D from the point of view of

1, compile-time performance
2. run-time performance
3. code-size
4. load-time
5. locality of reference module global or function global (static)


More information about the Digitalmars-d-learn mailing list