Patrick Mylund Nielsen
|
a45ed98559
|
Add benchmarks that use expiring items (time.Now calls) and rename BenchmarkDeleteExpired to BenchmarkDeleteExpiredLoop for clarity
|
2015-11-30 10:45:30 -05:00 |
|
Patrick Mylund Nielsen
|
28ab885a1a
|
Make BenchmarkDeleteExpired more meaningful
|
2015-11-28 15:13:26 -05:00 |
|
Patrick Mylund Nielsen
|
cf4e165754
|
Add IncrementInt benchmark
|
2015-11-28 14:56:23 -05:00 |
|
Patrick Mylund Nielsen
|
901b2413ee
|
Improve cache locality by removing Item-related pointers
|
2015-11-28 14:47:46 -05:00 |
|
Patrick Mylund Nielsen
|
3d4d09ca0b
|
Add a benchmark for DeleteExpired()
|
2015-11-28 14:35:38 -05:00 |
|
Patrick Mylund Nielsen
|
0ba3e0049c
|
Update copyright years
|
2015-11-28 14:21:44 -05:00 |
|
Patrick Mylund Nielsen
|
ac0fcef49b
|
Clarify that the OnEvicted function isn't called when an item is overwritten
|
2015-11-28 12:27:08 -05:00 |
|
Patrick Mylund Nielsen
|
e9441b12e0
|
Add mutex-using test condition to TestOnEvicted
|
2015-11-28 12:22:52 -05:00 |
|
Patrick Mylund Nielsen
|
3f2c810ea1
|
Add OnEvicted()
|
2015-11-27 22:00:08 -05:00 |
|
Patrick Mylund Nielsen
|
a0136a8980
|
Don't expose the cache mutex
|
2015-11-27 13:03:24 -05:00 |
|
Patrick Mylund Nielsen
|
a122e14c4b
|
Merge pull request #23 from databus23/patch-1
Fix leaking the janitor ticker when shutting down
|
2015-10-13 08:21:26 -04:00 |
|
Patrick Mylund Nielsen
|
93d85800f2
|
README.md: Add missing 'time' import to example
|
2015-03-03 09:09:38 -05:00 |
|