Review of Andrei's std.benchmark

Jacob Carlborg doob at me.com
Sat Sep 22 03:45:18 PDT 2012


On 2012-09-21 21:59, Andrei Alexandrescu wrote:

> I think you have discovered a major issue. Ideas on how to attack this?

The standard way to solve this would be to move the initialization code 
from a static constructor to a function what will be called and do the 
initialization lazy. But since this several layers of string mixins what 
will make it more complicated.

Can you give a short example of how the mixed in code will look like?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list