Commit Graph

9 Commits

Author SHA1 Message Date
Peng Gao 64597b577e Update travis
Signed-off-by: Peng Gao <peng.gao.dut@gmail.com>
2016-11-09 14:34:07 +08:00
Peng Gao 3cceb4fab0 Update README, ci, pa
Signed-off-by: Peng Gao <peng.gao.dut@gmail.com>
2016-08-27 20:00:58 +08:00
Peng Gao 987311e3b4 Refactor code
1.  Add benchmark performance in README.md
2.  Use an Attr as argument for New to initiate a cache, in this
    way, more default settings can be supported.
3.  Add fast way for delete method, if no onEvicted callback
    function set.
4.  Use bool to indicate k existence in Get method to avoid
    pointer escape (which leads to memory allocation on heap),
    reference link below to get detail information.
    https://groups.google.com/forum/#!topic/golang-nuts/1WCWAtOsyDU

Signed-off-by: Peng Gao <peng.gao.dut@gmail.com>
2016-08-27 19:42:15 +08:00
Darren McCleary da6326cd69 added go syntax highlighting to README 2016-01-27 11:56:21 -05:00
Patrick Mylund Nielsen faf83836bd Change GitHub repository URLs in README 2015-12-02 14:32:12 -05:00
Patrick Mylund Nielsen 66bf7b7a45 Update README to point to new repository URL 2015-12-01 11:18:46 -05:00
Patrick Mylund Nielsen 93d85800f2 README.md: Add missing 'time' import to example 2015-03-03 09:09:38 -05:00
Patrick Mylund Nielsen 32dd451b6d README.md: Be consistent with NewFrom() 2014-12-22 01:59:29 -05:00
Patrick Mylund Nielsen 238c0209c0 New markdown README (thanks Jason Mooberry) 2014-12-22 01:55:57 -05:00