Larry Hastings added the comment:
I suppose so. It would be hard to measure the resulting speedup. But I guess
we get it for free.
I made the change in my simple expressions branch. So it'll go in when that
does.
--
resolution: - fixed
stage: - committed/rejected
status: open -
New submission from Georg Brandl:
In the presence of [ ] , clinic generates PyTuple_Size() calls.
Since argument tuples always are tuples, you can use the macro form
PyTuple_GET_SIZE() to speed it up.
--
assignee: larry
messages: 208007
nosy: georg.brandl, larry
priority: normal