On Mon, Aug 8, 2011 at 4:16 PM, Greg Weber <greg@gregweber.info> wrote:
Kazu profiled his code and found that using the current haskell date/time libraries was extremely expensive. He solved the issues by writing optimized date code. It is unclear how much benefit there would be to caching after switching to his optimized date code. He is planning to release his logging code as a separate package.

In Snap we call out to C. It could be that Kazu's code is faster (it can probably be inlined to avoid a function call), but we don't call the time code enough to make it worth checking.

G
-- 
Gregory Collins <greg@gregorycollins.net>