>> It's not clear to me that his current system supports all the >> different types of callables which CPython supports. That alone might >> streamline his function call code a lot. Alex> How so? Isn't one "indirecting" through the tp_call slot anyway? Alex> Supporting two or two thousand types of callables should make Alex> function calls just about the same cost -- or am I missing Alex> something...? Python's function call machinery is complex, mostly in the argument marshalling area I think. Take a look in Python/ceval.c at call_function fast_function do_call ext_do_call update_keyword_args update_star_args If Jim's compiler doesn't yet support any of varargs, keyword args, calling C functions or calling bound method objects, I suspect his code is more streamlined. Skip
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