HighDots Forums  

Javascript recursion limit

Javascript JavaScript language (comp.lang.javascript)


Discuss Javascript recursion limit in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #31  
Old   
VK
 
Posts: n/a

Default Re: Javascript recursion limit - 05-24-2008 , 03:39 PM






On May 25, 12:29 am, VK <schools_r... (AT) yahoo (DOT) com> wrote:
Quote:
This way if we do care about Safari then the universal max of RET
points is 497 (Safari 3.x 498-1)
Without Safari in consideration universal max of RET points is 999
(Firefox 2.x 1000-1)
Because no educated guess can be made about the call chain length at
the moment of starting the recursion, one either has to trace the
chain length by using deprecated yet functional arguments.caller
property or just cut the max value for another ten positions thus 488
or 989 depending on with Safari or without it. The latter way is very
approximate of course though I believe that any algorithm of any
descent sanity never goes above that call chain size. At least I never
saw a sane counterexample and all other counterexamples were clearly
insane.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.