First page Back Continue Last page Overview Text

Notes:


Unfortunately, in their quest for decent performance, their implementations are neither small nor simple.

This code is taken from the parse_datetime function.

It attempts to do a greatest common denominator calculation in C, and call Date's new bang method with a precomputed astronomical julian date, because letting the standard library do the calculation is a lot slower.

If the standard date library had decent performance, you wouldn't need code like this.