Profiling graph library
bearophile
bearophileHUGS at lycos.com
Tue Jul 30 16:29:50 PDT 2013
John Colvin:
> Any chance of some nice examples of this?
Allocate a buffer somewhere, on the stack or heap, and then
instead of using a map()+array() as in that code use map()+copy()
plus a test to be sure the space is sufficient.
But in the end I don't know how much well even ldc2 will compile
that. You have to take a look at the produced asm with the
"-output-s" switch of ldc2.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list