Python: Decorator Classes On The Edge

Yesterday’s entry on Python decorator classes left out two related edge cases: classmethod objects and staticmethod objects.

Python: Decorating with class through descriptors

Developing a decorator class in Python leads to an enlightening look at Python descriptors.

SyntaxHighlighter: Easier to load; faster to boot?

I’ve introduced a new method for loading SyntaxHighlighter onto a web page. The goal was simply to make it easier to integrate SyntaxHighlighter into a web site. So, I was pleasantly surprised to find that the new method often loads faster than the traditional method.

JavaScript Array Performance, And Why It Matters

Arrays can present an unexpected performance bottleneck in JavaScript. Here I show that array performance is influenced by some surprising details of the array and how it’s used.