4 ms·
Hardly a nitpick. It's key to the claim.
by pgt 4y ago
Hardly a nitpick. It's key to the claim.
- nerdponx 4y agoIt's a little sad because PyPy literally is written in (a restricted subset of) Python, hence the name.
- v3ss0n 4y agoAnd it is severely underrated. Even though performance gain is aevrate around 4x-20x. Used in production and memory usage is also about 1/6th of CPython. Can get 10x perfromance easily in many cases.
- ddorian43 4y ago> Used in production and memory usage is also about 1/6th of CPython I thought it would have higher memory usage? (based only on reading)
- smolder 4y agoI suspect their relative memory efficiency depends on the size of the program and the size of the data it's processing.
- chc 4y agoSomewhat paradoxically, PyPy always uses more memory for programs with small working sets, but can use less memory for programs with large working sets. 1/6 is a lot more extreme than I would have expected, though.
- rurban 4y agoNo, it has drastically less memory requirements. It's very similar to my perl compiler, and even in non-optimizing mode it uses much less memory. In optimizing mode it's almost the same as this one. Just ~20 years older.
- avinassh 4y agoI experimented with SQLite, trying to insert many rows in under a minute. I ran my script with PyPy, with zero changes and it was 4x times faster! code here: https://github.com/avinassh/fast-sqlite3-inserts https://github.com/avinassh/fast-sqlite3-inserts my blog post: https://avi.im/blag/2021/fast-sqlite-inserts/ https://avi.im/blag/2021/fast-sqlite-inserts/
- avgcorrection 4y agoWhat does “literally” buy you here?
- chc 4y agoIt's a nit-pick because it's ultimately just a gripe about ambiguous phrasing, not because the implications of what the phrasing means are unimportant.