panthomakos/timezone — pull request #3 by mattdbridges (2011-10-24 18:56:58+00:00)
Title: Refactored Zone.names to cache.

Names was not being cached. Here are the results from a quick benchmark comparison after 5000 calls to Timezone::Zone.names:

user system total real
Old: 21.380000 6.490000 27.870000 ( 27.841006)
New: 0.010000 0.000000 0.010000 ( 0.010154)

New results are noticeably different.