Improve date parsing performance