From: SourceForge.net <no...@so...> - 2007-04-11 03:15:06
|
Patches item #1698093, was opened at 2007-04-11 00:11 Message generated for change (Comment added) made by msofer You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310894&aid=1698093&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 46. Bytecode Compiler Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: miguel sofer (msofer) >Assigned to: miguel sofer (msofer) Summary: tighter mem handling in tebc Initial Comment: The enclosed patch causes that only the depth of the catch ranges be computed: this allows for tighter mem handling in tebc, which needs to alloc memory for each catch nesting level. OTOH: (1) the nesting level of loops is an interesting datum for stats and debugging, and it gets lost (2) the mem required for each catch nesting level is just sizeof(Tcl_Obj *) - nothing. So overestimating it as now is cheap. Also, bodies with very deep nesting of loop bodies should be very rare. This is a RFC. ---------------------------------------------------------------------- >Comment By: miguel sofer (msofer) Date: 2007-04-11 00:13 Message: Logged In: YES user_id=148712 Originator: YES Forget for now - segfaults :( ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310894&aid=1698093&group_id=10894 |