Port a benchmark to D?
    Andrej Mitrovic 
    andrej.mitrovich at gmail.com
       
    Fri Jun  3 17:44:37 PDT 2011
    
    
  
On 6/4/11, bearophile <bearophileHUGS at lycos.com> wrote:
> Andrej Mitrovic:
>
>> Okay, here's how to increase stack size via Optlink:
>> dmd benchmark.d -L/STACK:128000000
>
> Keep in mind that sets the max stack size, not the max heap size.
> -L/STACK:5000000 is plenty :-)
>
> Bye,
> bearophile
>
Is that in bytes or kilobytes? Well, I guess Optlink/LD will
automatically limit the stack size to something sane if I've blown it
out of proportion. The app ends up using about 130megs.
    
    
More information about the Digitalmars-d
mailing list