My experience with the computer language shootout
Read OriginalA PyPy developer recounts efforts to improve PyPy's performance on the Computer Language Shootout benchmarks. The article details how existing Python benchmarks were micro-optimized for CPython, harming PyPy. It describes rewriting the 'reverse-complement' benchmark for PyPy, encountering a CPython bug, and devising a clever workaround using ctypes to call libc's write() for better performance across both implementations.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser