Re: [pypy-dev] Efficiently piecing together callables with hooks?

2011-08-15 Thread Samuel Ytterbrink
Hi, i only have some questions about your example code. How does the runhooks function work? And what are you using the pos loop variable for? Den 14 aug 2011 18.58 skrev Timo Paulssen timona...@perpetuum-immobile.de : Hello List, I'm currently experimenting with a piece of software I've

Re: [pypy-dev] Efficiently piecing together callables with hooks?

2011-08-15 Thread Armin Rigo
Hi Timo, On Sun, Aug 14, 2011 at 6:48 PM, Timo Paulssen timona...@perpetuum-immobile.de wrote: So what would you suggest for making this much faster? I read on the IRC, that in pypy itself, string concatenation is actually used to create python functions, so maybe that would be way to go in

Re: [pypy-dev] Efficiently piecing together callables with hooks?

2011-08-15 Thread Timo Paulssen
On 15.08.2011 10:18, Samuel Ytterbrink wrote: Hi, i only have some questions about your example code. How does the runhooks function work? And what are you using the pos loop variable for? Hi, here's all the code you'll need to understand what's going on: def step_pure_py(self):