Review of Andrei's std.benchmark
"Øivind"
oivind.loe at gmail.com
Wed Sep 19 13:11:52 PDT 2012
New question for you :)
To register benchmarks, the 'scheduleForBenchmarking' mixin
inserts a shared static initializer into the module. If I have a
module A and a module B, that both depend on eachother, than this
will probably not work..? The runtime will detect the init cycle
and fail with the following error:
"Cycle detected between modules with ctors/dtors"
Or am I wrong now?
More information about the Digitalmars-d
mailing list