This website requires JavaScript.
bd7c65aa3c
add Stephen to list of contributors
master
reportcard
Stephen McQuay (smcquay)
2017-04-30 19:45:06 -0700
6b566c2c3a
Pass battery of linting/vetting
Stephen McQuay (smcquay)
2017-04-30 19:45:06 -0700
e550af8469
Merge f73e2280ec
into 7ac151875f
#17
M@
2017-04-19 14:26:38 +0000
f73e2280ec
Ensure onEvicted is run after DeleteLRUAmount, and don't allocate evicted items array if no onEvicted function is registered
#17
Patrick Mylund Nielsen
2017-04-19 10:26:35 -0400
78ff45eea0
Don't return a pointer in Item.LastAccessed()
Patrick Mylund Nielsen
2017-04-19 10:14:55 -0400
9f5600511e
Merge 98d5fc4131
into 7ac151875f
#31
Doug Daniels
2017-04-19 10:36:08 +0000
7f7e45ecd4
Merge 71bfe9e709
into 7ac151875f
#41
pranjal5215
2017-04-19 10:36:08 +0000
c63dcbab96
Avoid more time.Now() calls
Patrick Mylund Nielsen
2017-04-18 22:45:37 -0400
cd479c6eeb
Add GetManyConcurrent benchmarks for LRU cache
Patrick Mylund Nielsen
2017-04-18 22:12:31 -0400
6a67eef9fd
Add concurrent read benchmark for LRU cache
Patrick Mylund Nielsen
2017-04-18 22:03:33 -0400
cde99c3f10
README.md: Remove trailing spaces
Patrick Mylund Nielsen
2017-04-18 21:54:29 -0400
795debb4ed
Merge latest master (GetWithExpiration) with LRU
Patrick Mylund Nielsen
2017-04-18 20:01:30 -0400
fdfec335d5
Various updates to LRU functionality
Patrick Mylund Nielsen
2017-04-18 19:47:15 -0400
b717f67f01
Merge 56403766d8
into 7ac151875f
#20
zhuangzebo
2017-04-18 23:31:47 +0000
3920ea69f0
Merge 738ddeb7e2
into 7ac151875f
#42
pranjal5215
2017-04-18 23:31:47 +0000
46c21ed430
Merge 46cecf25cc
into 7ac151875f
#45
Victor Poluksht
2017-04-18 23:31:47 +0000
79c326bb03
Merge 15c04393c8
into 7ac151875f
#32
Doug Daniels
2017-04-18 23:29:50 +0000
7ac151875f
Merge pull request #46 from alexedwards/master
Patrick Mylund Nielsen
2017-04-18 19:29:47 -0400
d8d9d6491e
Various fixes for upstream acceptance, and formatting
M
2017-04-18 12:40:40 -0400
247cddedd3
Merge f648931821
into ea4bd2a538
#27
beppeben
2017-03-29 08:08:40 +0000
292db4c60a
Merge d84a7fc928
into ea4bd2a538
#35
d1ngd0
2017-03-29 08:08:40 +0000
d07c004c68
Merge bec54ffe0d
into ea4bd2a538
#40
Christoph Petrausch
2017-03-29 08:08:40 +0000
f2390a1370
Merge 249f01f691
into ea4bd2a538
#47
Dolf Schimmel
2017-03-29 08:08:39 +0000
ea4bd2a538
LICENSE: Update copyright years
Patrick Mylund Nielsen
2017-03-26 12:37:11 -0400
96426d0c5b
README.md: Remove the unprotected change example since it would actually need external synchronization
Patrick Mylund Nielsen
2017-03-26 12:36:28 -0400
dd1ed0ba63
README.md: Remove one level of indentation and increase 'recommended' cleanupInterval
Patrick Mylund Nielsen
2017-03-26 12:30:15 -0400
249f01f691
Add GetPossiblyExpired()
#47
Dolf Schimmel
2017-02-06 00:24:14 +0100
15c04393c8
Provide GetAndSet(k string, setFn func) to allow synchronized atomic upsert behavior when key doesn't exist in cache
#32
Douglas Daniels
2016-02-10 14:56:17 -0600
8c11fe2df0
Add GetWithExpiration
#46
Alex Edwards
2016-12-08 14:50:49 +0100
bec54ffe0d
Added myself to contributors. Moved tests to Items()
#40
Christoph Petrausch
2016-11-28 08:04:39 +0100
f9be2c1abe
Merge branch 'master' of https://github.com/patrickmn/go-cache
Christoph Petrausch
2016-11-28 07:56:43 +0100
e7a9def80f
Add SetDefault() for setting with the default expiration
Patrick Mylund Nielsen
2016-11-25 18:48:19 -0500
52581776a3
LICENSE: Update copyright year
Patrick Mylund Nielsen
2016-11-25 14:18:09 -0500
9e6d9117e7
Add 'inlining of expired' note to Items()
Patrick Mylund Nielsen
2016-11-25 13:57:39 -0500
a2d8b56f0c
Make Items() return a copy rather than an unsynchronized reference to the underlying items map
Patrick Mylund Nielsen
2016-11-25 13:56:11 -0500
46cecf25cc
SetMulti
#45
Victor Poluksht
2016-11-23 00:12:36 +0000
c5b8fcb38d
Merge e4b4bf33ab
into 1881a9bccb
#44
Peng Gao
2016-11-17 07:01:06 +0000
e4b4bf33ab
Update README.md
#44
Peng Gao
2016-11-14 11:53:45 +0800
266c1c3f3e
Update coverage badge
Peng Gao
2016-11-09 15:24:47 +0800
ad7b6c4480
Merge 64597b577e
into 1881a9bccb
#43
Peng Gao
2016-11-09 06:36:59 +0000
64597b577e
Update travis
#43
Peng Gao
2016-11-09 14:33:00 +0800
71bfe9e709
cache changes for evictBulk
#41
Pranjal Pandit
2016-09-15 18:47:54 +0530
738ddeb7e2
TestUpdate check Update expiration time
#42
Pranjal Pandit
2016-09-13 15:22:42 +0530
1b4adb128a
make back to unexported:typo
Pranjal Pandit
2016-09-13 14:36:28 +0530
b205f45f51
make sharded cache unexported back again
Pranjal Pandit
2016-09-13 13:44:46 +0530
884405c431
Add namespace for Item and inline janitor
Peng Gao
2016-09-01 14:03:22 +0800
f26e1d0b06
Fix #3 , use put common code in individual a file
Peng Gao
2016-09-01 11:46:59 +0800
c193f8a44d
Added function GetNotExpiredItems to get all not expired items in a threadsafe manner
Christoph Petrausch
2016-08-31 08:35:59 +0200
f7f14e07e4
Support zero value in template
Peng Gao
2016-08-31 14:04:57 +0800
4378c9a40e
Fix type finding bugs and add zero vaule for func
Peng Gao
2016-08-31 12:21:05 +0800
86164a864c
cache test and Update added
Pranjal Pandit
2016-08-30 01:05:50 +0530
26fb4f1043
check locally with exporting and using shraded cache
Pranjal Pandit
2016-08-29 22:42:41 +0530
ebc1ab826e
Add decrement and increment for numberic types
Peng Gao
2016-08-29 18:58:22 +0800
6528eb255b
Merge 3cceb4fab0
into 1881a9bccb
#39
Peng Gao
2016-08-27 12:02:52 +0000
3cceb4fab0
Update README, ci, pa
#39
Peng Gao
2016-08-27 20:00:58 +0800
5b06290188
Support zerovalue and fix tests
Peng Gao
2016-08-27 19:35:01 +0800
987311e3b4
Refactor code
Peng Gao
2016-08-27 18:05:46 +0800
96d0b686a8
Update LICENSE and CONTRIBUTORS
Peng Gao
2016-08-26 14:05:15 +0800
96eafc2dcd
Add generator for code
Peng Gao
2016-08-11 16:42:28 +0800
4606d7097e
cachemap: modify go-cache by using certain type
Peng Gao
2016-08-11 11:58:16 +0800
d84a7fc928
Added Get and reset method called GetR which resets the expiration
#35
Paul Montag
2016-07-14 23:00:01 -0500
98d5fc4131
Add GetWithExpiration(k) (interface{}, time.Time, bool)
#31
Douglas Daniels
2016-02-10 11:30:20 -0600
1881a9bccb
Merge pull request #29 from darrenmcc/master
v2.0.0
Patrick Mylund Nielsen
2016-01-27 12:00:04 -0500
da6326cd69
added go syntax highlighting to README
#29
Darren McCleary
2016-01-27 11:56:21 -0500
5849ccb308
remove mu.RUnlock call from get
Patrick Mylund Nielsen
2016-01-08 15:02:42 -0500
f648931821
revised formatting
#27
Giuseppe
2015-12-05 15:00:25 +0100
05f1124e1e
revised formatting
Giuseppe
2015-12-05 14:53:44 +0100
3969366c62
fixed formatting
Giuseppe
2015-12-05 14:45:05 +0100
a6be55d590
Merge branch 'master' into bst
Giuseppe
2015-12-05 14:32:06 +0100
3eb91e81eb
Merge branch 'master' of https://github.com/patrickmn/go-cache
Giuseppe
2015-12-05 14:20:51 +0100
97de98b0f1
fixed few bugs
Giuseppe
2015-12-05 14:19:03 +0100
721cc9438c
Add BenchmarkRWMutexInterfaceMapGetString
Patrick Mylund Nielsen
2015-12-03 09:55:58 -0500
8c41258ef3
Add BenchmarkRWMutexInterfaceMapGet
Patrick Mylund Nielsen
2015-12-03 09:40:14 -0500
4c8dd8263a
fixed a bug in set
Giuseppe
2015-12-03 01:56:49 +0100
3fed5bb1fe
merge master
Giuseppe
2015-12-03 01:20:58 +0100
d550e2eebf
Merge branch 'master' of https://github.com/patrickmn/go-cache
Giuseppe
2015-12-03 01:18:21 +0100
faf83836bd
Change GitHub repository URLs in README
Patrick Mylund Nielsen
2015-12-02 14:32:12 -0500
810668b922
modified test
Giuseppe
2015-12-01 22:37:05 +0100
7f1016551c
modified test
Giuseppe
2015-12-01 22:31:59 +0100
e58a7a95f4
changed test
Giuseppe
2015-12-01 22:08:24 +0100
be7efe5287
modified test
Giuseppe
2015-12-01 22:02:17 +0100
c562196a80
fetched recent changes
Giuseppe
2015-12-01 19:57:19 +0100
dc835ef4f8
Merge remote-tracking branch 'upstream/master'
Giuseppe
2015-12-01 18:41:59 +0100
2491a50c66
modified test
Giuseppe
2015-12-01 18:38:44 +0100
66bf7b7a45
Update README to point to new repository URL
Patrick Mylund Nielsen
2015-12-01 11:18:46 -0500
d461c5d2dd
'Inline' set in Set, and do time checks before the lock
Patrick Mylund Nielsen
2015-12-01 11:08:43 -0500
bee3326f4b
modif test
Giuseppe
2015-12-01 09:38:36 +0100
6399142787
added large cache test
Giuseppe
2015-12-01 09:12:35 +0100
9e28bbffcf
added delete on bst
Giuseppe
2015-12-01 09:07:03 +0100
76f1250a65
Make OnEvicted() a little faster
Patrick Mylund Nielsen
2015-11-30 16:18:49 -0500
7c1e7f5829
go fmt
Patrick Mylund Nielsen
2015-11-30 16:04:57 -0500
9fc6f9c73f
Add expiring/notexpiring sharded cache benchmarks
Patrick Mylund Nielsen
2015-11-30 16:04:49 -0500
afadf13f9f
Back to UnixNano(), syscall dependency isn't worth a few nanoseconds better performance
Patrick Mylund Nielsen
2015-11-30 15:12:19 -0500
f6cdd07cbb
Merge branch 'timeval'
Patrick Mylund Nielsen
2015-11-30 15:02:11 -0500
2f0c74ebb8
Use intermediary timevals
Patrick Mylund Nielsen
2015-11-30 15:02:02 -0500
2f60853f80
No need for emptyTime anymore
Patrick Mylund Nielsen
2015-11-30 14:49:18 -0500
01842a547c
Use timevals
Patrick Mylund Nielsen
2015-11-30 14:47:22 -0500
1924ec3baf
Remove expired() since it's no longer used (because of the inlining)
Patrick Mylund Nielsen
2015-11-30 14:14:52 -0500
8084bd02b5
Inline expiration checks manually for performance
Patrick Mylund Nielsen
2015-11-30 14:12:45 -0500
eb4f9f6b2f
Use UnixNano int64s instead of Time
Patrick Mylund Nielsen
2015-11-30 13:54:01 -0500