Thanks.I've made a pass through the code and found some places to improve. Sadly I've been rather busy at work today. Anyway get ready for pull requests should my ideas prove to be worthy performance-wise.
http://hackerpilot.github.com/experimental/std_lexer/images/times3.pngYour suggestions seem to have worked. We're below 20ms on my machine for the datetime module.
