Skip to content

Tags: emillis/cacheMachine

Tags

v0.3.4

Toggle v0.3.4's commit message
Yea, the last push. I don't want to talk about it

v0.3.3

Toggle v0.3.3's commit message
There was a glitch where sometimes the functions that had deferred fu…

…nctionality but wasn't returning anything wouldn't actually run the deferred functionality. This has now been fixed

v0.3.2

Toggle v0.3.2's commit message
Modified test "TestCache_GetEntry". It did not previously include a n…

…il value test

v0.3.1

Toggle v0.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #2 from emillis/v0.3.1

Glitch and test fixes

v0.3.0

Toggle v0.3.0's commit message
Fixed the "AddTimer" cache method. Also added tests for Entry - "Stop…

…Timer" and "ResetTimer"

v0.2.1

Toggle v0.2.1's commit message
Added Benchmarks for "Merge(c1, c2)" and "MergeAndReset(c1, c2)"

v0.2

Toggle v0.2's commit message
Added two new function - "Merge(c1, c2)" and "MergeAndReset(c1, c2)".…

… First one merges everything from c2 into c1. Second one does exactly the same, but additionally, it wipes c2 clean after the merger

Private method "copyData()" is no longer protected by a mutex. A public method using it should use mutex instead.

v0.1.1

Toggle v0.1.1's commit message
Added "GetRandomSamples(n int)" method to Cache struct. Ite returns s…

…et of size n of random data from cache. Added benchmark for it too.

Also, changed how Count() int is returned. This does not affect the API.

v0.1.0

Toggle v0.1.0's commit message
Copy function now takes interface with "GetAll() map[TKey]TValue" met…

…hod defined, rather than the actual Cache type