tl;dr summary: mail a colleague if you see something that just might be useful to them.
A couple of weeks ago I made a django app way faster. The most
important improvement was to use python’s build-in
datetime.datetime.strptime()
to parse dates instead of the iso8601
library. 20 times faster for our
use case.
Last week, a colleague mailed me a link to https://hack.close.io/posts/ciso8601 with as email subject “you’re not the only one that found date parsing to be slow”. He just saw the article and mailed it to me. He didn’t even read it in detail.
To me, it looked quite relevant and I did read it in detail. Wow! A datetime
parsing library that promises to be even faster?
https://github.com/elasticsales/ciso8601 . Trying it out meant changing 5
lines or so. Wow! Another 6x speed increase compared to strptime()
!
Good news for our customers. Good news for the django app. All because of a simple quick mail.
So… think about your colleagues when you spot something that might be especially useful! It might just be the link that makes their day.
My name is Reinout van Rees and I program in Python, I live in the Netherlands, I cycle recumbent bikes and I have a model railway.
Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):