[Python-Dev] Idea for a fast calling convention (original) (raw)
Kurt B. Kaiser kbk at shore.net
Sat Feb 28 12:37:08 EST 2004
- Previous message: [Python-Dev] Idea for a fast calling convention
- Next message: [Python-Dev] Idea for a fast calling convention
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Phillip J. Eby" <pje at telecommunity.com> writes:
Perhaps there is some information that can be gleaned from the Jython research as to what are the most common number of positional parameters for calls.
Queinnec, "Lisp in Small Pieces", p 239:
arity 0 1 2 3 4 5 6 7 8 frequency(%) 35 30 18 9 4 1 0 0 0 cumulative(%) 35 66 84 93 97 99 99 99 100
at least for the 1,988 scheme functions in the book. He thinks 0 arity is over-represented due to some thunking techniques that he employs.
-- KBK
- Previous message: [Python-Dev] Idea for a fast calling convention
- Next message: [Python-Dev] Idea for a fast calling convention
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]