From: Glenn Parker Date: 2005-03-18T01:18:07+09:00 Subject: Re: Maximum stack depth Yukihiro Matsumoto wrote: > > Ruby uses C stack, so that you need to use ulimit to specify a limit > on stack depth. Thank you for the tip, but I'm afraid ulimit is not an option under WinXP, and I have no idea what the corresponding tweak would be. I will suggest to the Shootout folks that they try boosting the stack size with ulimit for the Ackerman test. Does anybody know the stack "overhead" for method invokation in Ruby? If vruz gets (only) 1891 levels on a linux box, and typical default stack size limit is 1 MB, then I calculate a little over 500 bytes for each level of recursion, but the stack size limit is just a guess. -- Glenn Parker | glenn.parker-AT-comcast.net |