Re: per-function jit compiler

2010-04-06 Thread Gabriel Genellina
En Tue, 06 Apr 2010 07:23:19 -0300, Luis M. González escribió: On 6 abr, 03:40, Chris Rebert wrote: 2010/4/5 Luis M. González : > This post gave me an idea:http://groups.google.com/group/comp.lang.python/msg/5d75080707104b76 > What if I write a simple decorator to figure out the ty

Re: per-function jit compiler

2010-04-06 Thread Luis M . González
On 6 abr, 03:40, Chris Rebert wrote: > 2010/4/5 Luis M. González : > > > > > > > This post gave me an > > idea:http://groups.google.com/group/comp.lang.python/msg/5d75080707104b76 > > > What if I write a simple decorator to figure out the types of every > > function, and then we use it as a base

Re: per-function jit compiler

2010-04-05 Thread Chris Rebert
2010/4/5 Luis M. González : > This post gave me an idea: > http://groups.google.com/group/comp.lang.python/msg/5d75080707104b76 > > What if I write a simple decorator to figure out the types of every > function, and then we use it as a base for a simple method-jit > compiler for python? > > exampl

per-function jit compiler

2010-04-05 Thread Luis M . González
This post gave me an idea: http://groups.google.com/group/comp.lang.python/msg/5d75080707104b76 What if I write a simple decorator to figure out the types of every function, and then we use it as a base for a simple method-jit compiler for python? example: def typer(f): def wrap(*args):