hi - we are are trying to upgrade to Rhino 1.7R2 (previous version was 1.6R5)
and compiling scripts when running the java application causes a "Program too complex (out of locals)" message to come out where it didn't before. While researching we found an entry in your mail list by a Mr. Norris Boyd dated november of last year stating that there is a limit of 256 local "slots" and that doubles and longs consume 2 slots each. Did the number of slots change between the two releases we mention -- or are there possible other factors contributing to this error at this time? What exactly is a local slot? Does this mean that there is a limit of 256 numeric quantities that can be named with a local variable lable per function object? do other js objects (such as strings, arrays, functions) consume these slots as well or are they just for numerics? If a function object contains the declaration of another function (method) object - do the inner declarations share the same 256 slots with the outer function or does each get its own pool? We want to attempt to continue running in compiled mode rather than interpreted mode by seeing if we can reduce the number slots being consumed but need to know what elements in the script get mapped to the slots to know what to get rid of or reuse. Thanks for any information you can give. Randy Ellis --------------------------------------------------------------------- The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. --------------------------------------------------------------------- _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
