Python: Decorator Classes On The Edge
Yesterday’s entry on Python decorator classes left out two related edge cases: classmethod objects and staticmethod objects.
Yesterday’s entry on Python decorator classes left out two related edge cases: classmethod objects and staticmethod objects.
Developing a decorator class in Python leads to an enlightening look at Python descriptors.
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.
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.