Standardizing out-of-memory and stack-depth-exceeded errors?
oliver at apple.com
Wed Mar 23 18:25:36 PDT 2011
On Mar 23, 2011, at 6:21 PM, Garrett Smith wrote:
> The infinite recursion could be detected and reported early. Where
> does that happen? Does any engine report early for infinite recursion?
Non-trivial infinite recursion can't be detected early, and it's the non-trivial cases that people miss in basic testing. Potential infinite recursion can also be trivially detected, however more or less any recursive algorithm is potentially "infinitely recursing" so i suspect such a warning would be seen as unhelpful noise.
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss