Another Pair of Unladen Swallow Optimizations
Read OriginalThe article describes two specific optimizations for the Unladen Swallow Python implementation. The first involves optimizing functions with a finite range of arguments (like unicode.encode), yielding a 3-6% speedup in a Django benchmark. The second discusses a JIT patch that emits optimized machine code for monomorphic operator sites (e.g., int + int) to improve performance in algorithmic workloads.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser