[issue23889] Speedup inspect.Signature.bind

2015-05-19 Thread Yury Selivanov
Yury Selivanov added the comment: After some experiments, it looks like bind() is already pretty fast. The only way to increase its performance is to rewrite it in C. I tried to approaches: 1. Refactor ._bind() to produce a high-level instruction set that can be cached, and is fast to iterate

[issue23889] Speedup inspect.Signature.bind

2015-04-08 Thread Yury Selivanov
Changes by Yury Selivanov : -- stage: -> needs patch type: -> performance ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23889] Speedup inspect.Signature.bind

2015-04-08 Thread Yury Selivanov
New submission from Yury Selivanov: Right now the implementation of Signature.bind is very complex, which leads to a subpar performance. The only way to significantly speed it up is to employ code generation and cache (the other way it to rewrite it in C, but that's something I'd like to avoid