4 years later, I'd say: let's make it work first and optimize later. James is right: just make it thread-safe for now.