tag:github.com,2008:https://github.com/emillis/cacheMachine/releasesTags from cacheMachine2022-08-14T19:29:50Ztag:github.com,2008:Repository/485101660/v0.3.42022-08-14T19:39:39Zv0.3.4emillistag:github.com,2008:Repository/485101660/v0.3.32022-08-14T19:22:47Zv0.3.3<p>There was a glitch where sometimes the functions that had deferred fu…</p>
<p>…nctionality but wasn't returning anything wouldn't actually run the deferred functionality. This has now been fixed</p>emillistag:github.com,2008:Repository/485101660/v0.3.22022-08-04T17:46:38Zv0.3.2<p>Modified test "TestCache_GetEntry". It did not previously include a n…</p>
<p>…il value test</p>emillistag:github.com,2008:Repository/485101660/v0.3.12022-08-02T19:23:14Zv0.3.1<p>Merge pull request <a class="issue-link js-issue-link" href="https://github.com/emillis/cacheMachine/pull/2">#2</a> from emillis/v0.3.1</p>
<p>Glitch and test fixes</p>emillistag:github.com,2008:Repository/485101660/v0.3.02022-07-17T18:24:56Zv0.3.0<p>Fixed the "AddTimer" cache method. Also added tests for Entry - "Stop…</p>
<p>…Timer" and "ResetTimer"</p>emillistag:github.com,2008:Repository/485101660/v0.2.12022-06-26T07:54:58Zv0.2.1emillistag:github.com,2008:Repository/485101660/v0.22022-06-23T18:58:56Zv0.2<p>Added two new function - "Merge(c1, c2)" and "MergeAndReset(c1, c2)".…</p>
<p>… First one merges everything from c2 into c1. Second one does exactly the same, but additionally, it wipes c2 clean after the merger</p>
<p>Private method "copyData()" is no longer protected by a mutex. A public method using it should use mutex instead.</p>emillistag:github.com,2008:Repository/485101660/v0.1.12022-06-18T20:23:40Zv0.1.1<p>Added "GetRandomSamples(n int)" method to Cache struct. Ite returns s…</p>
<p>…et of size n of random data from cache. Added benchmark for it too.</p>
<p>Also, changed how Count() int is returned. This does not affect the API.</p>emillistag:github.com,2008:Repository/485101660/v0.1.02022-06-15T18:22:26Zv0.1.0<p>Copy function now takes interface with "GetAll() map[TKey]TValue" met…</p>
<p>…hod defined, rather than the actual Cache type</p>emillis