Overview
| Artifact ID: | 174a114ff2c3c95bd671d39b0759062ac5f350dc |
|---|---|
| Ticket: | 2017946fffffffffffffffffffffffffffffffff
Tailcalls into non-compiled scripts don't work properly |
| User & Date: | tallniel on 2008-07-14 21:40:18 |
Changes
- icomment:
Logged In: YES user_id=102050 Originator: YES The bug seems to disappear when fac-tr is itself called from a byte-compiled context (e.g. a proc or loop body), e.g.: proc foo {} { fac-tr 10000 } # or foreach _ _ { fac-tr 10000 } This completes fine, apparently consuming constant stack. It is only when fac-tr is called from a non-byte-compiled context that [tailcall] seems to not work as expected (C stack grows as pre-NRE). - login: "tallniel"
- mimetype: "text/plain"
- username: "tallniel"