LRUCache Go 缓存库

程序名称:LRUCache

授权协议: BSD

操作系统: Windows

开发语言: Google Go

LRUCache 介绍

用 Go 编写的一个简单的 LRUCache 库,示例代码:

// define a type that can be used with the cache
type myCacheableValue struct {
}

func (v *myCacheableValue) Size() uint64 {
    return 64
}

// create a LRUCache
cache := lrucache.New(1989)

// put value to the cache
value := myCacheableValue{}
cache.Set("key", value)

// get value from the cache
v, ok := cache.Get("key")

LRUCache 官网

https://github.com/ZionSoft/lrucache

相关编程语言

BlazeDS 是一个基于服务器的Java 远程控制(remoting...
OVal 是一个可扩展的Java对象数据验证框架,验证的规...
Volta 是一套开发工具,专为开发分布式、实时系统应...
OpenDDS 是一个开源的 C++ 实现的 对象管理组织 OMG...
JADE (Java Agent DEvelopment Framework) 是一个完...
FastMM ,在D2006和2007中已代替了原来的内存管理器。