Commit Graph

8 Commits

Author SHA1 Message Date
Felipe Lessa
065e33a3d1 Faster, leaner implementation of putTime/getTime.
Benchmark on my computer (per call, includes runPut/runGet):

    old putTime: 5658 ns +/- 224ns
    new putTime:  821 ns +/-  24ns (7x faster)

    old getTime: 7228 ns +/- 126ns
    new getTime:   99 ns +/-   4ns (73x faster!!)

Besides, the old format used 25 raw bytes (33.3 bytes on the
base64 output), while the new one uses 8 bytes (10.6 bytes on the
base64 output).
2012-09-05 00:41:54 -03:00
Michael Snoyman
f8c41eb5ac Doc fix 2012-04-05 22:39:39 +03:00
Luite Stegeman
396644081c make SessionBackend more flexible 2012-03-31 01:36:44 +02:00
gregwebs
3f0848121c Session -> BackendSession 2012-03-25 13:31:02 -07:00
Luite Stegeman
b5b27f2b15 Make session storage configurable 2012-02-10 19:22:31 +01:00
Michael Snoyman
fec0d42827 lookupSessionBS/setSessionBS (#235) 2012-01-24 18:43:30 +02:00
Michael Snoyman
67c1c55e41 clientsession 0.7 2011-08-19 10:36:57 +03:00
Michael Snoyman
2dc10de435 Add 'yesod-core/' from commit '982d6185bee75b078bee92bd8a2e8743707f1922'
git-subtree-dir: yesod-core
git-subtree-mainline: cd5ee0fb12
git-subtree-split: 982d6185be
2011-07-22 08:59:56 +03:00