Alex Gaynor 11/19/2009

Another Pair of Unladen Swallow Optimizations

Read Original

The 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.

Another Pair of Unladen Swallow Optimizations

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week