performance improvements for date literals