First page Back Continue Last page Overview Text

Notes:


There are a few tradeoffs with this method of storage.

The first is that it could be more memory efficient, by either not caching the julian date or civil date, or by packing the month and day information inside the year.

Doing either would be more CPU intensive though. Since ruby takes about 20 bytes for every object, saving 2 to 6 bytes doesn't make much sense.