阅读背景:

如何在大量递归中允许更多的内存和避免堆栈溢出?

来源:互联网 

I'm testing the timing of an algorithm that does lots of recursive calls. My program dies at about 128k recursive calls, and this takes only .05 seconds. I'd like to allow more memory to have longer timings in my analysis. I'm running linux and using gcc. Is there a system call, or environment variable, or gcc flag, or wrapper, or something? I'm testing the timing of an algorithm that doe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: