3 ms·
one guy made a "pure" decorator that used the ast module to assess the purity (to a certain extent) of a function and allow optimisation on the way fun crazy
by agumonkey 9y ago
one guy made a "pure" decorator that used the ast module to assess the purity (to a certain extent) of a function and allow optimisation on the way
fun
crazy and fun
- roberto 9y agoI once wrote a decorator that translated the function to Javascript and spawned a web server, allowing the function to be computed in parallel by multiple browsers: https://bitbucket.org/robertodealmeida/parallejax https://bitbucket.org/robertodealmeida/parallejax
- agumonkey 9y agocute one