On Fri, 16 Jul 2004 14:03:25 -0400, "Phillip J. Eby" <pje at telecommunity.com> wrote: > At 10:45 AM 7/16/04 -0700, Josiah Carlson wrote: > >IMO it shouldn't be only about tail-call optimizations. Andrew Koenig > >suggested that frames be allocated from the heap, which if it is > >possible (is there anything that gets executed directly by the processor > >so we have to worry about processors supporting NX?), seems to remove > >the C stack limit. > > Frames *are* allocated on the heap. That's not the problem. The problem > is that the interpreter *has* to use the C stack to call C functions, and > Python objects are implemented using C functions. Therefore, invoking > operations on Python objects uses the C stack, in the general case. Ahh, now I understand. Thank you for the clarification. I'll go back to lurking now. - Josiah
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4