Post

Raymond Hettinger
Raymond Hettinger@raymondh·
Are there any resources detailing which constructs work best with #PyPy ? Which is better: a closure, an equivalent partial(), or an equivalent class? Is indexing preferred over iterators or vice versa? Speed differences between globals, locals, instance vars, class vars, etc?
English
1
2
28
0
Raymond Hettinger
Raymond Hettinger@raymondh·
How does one design their code to make it as PyPy friendly as possible?
English
3
0
14
0
Top Tier Python
Top Tier Python@TopTierPython·
@raymondh Write all 3 as microbenchmarks and benchmark them. That's what I do for JavaScript JITs.
English
1
0
0
0
แชร์