lua-resty-lrucache:基于LuaJIT FFI的Lua-land LRU缓存

时间:2021-04-13 17:30:11
【文件属性】:
文件名称:lua-resty-lrucache:基于LuaJIT FFI的Lua-land LRU缓存
文件大小:30KB
文件格式:ZIP
更新时间:2021-04-13 17:30:11
Lua 名称 lua-resty-lrucache-基于LuaJIT FFI的Lua-land LRU缓存。 目录 安装 社区 英文邮件列表 中文邮件列表 错误和补丁 作者 版权和许可 也可以看看 地位 该库被认为可以投入生产。 概要 -- file myapp.lua: example "myapp" module local _M = {} -- alternatively: local lrucache = require "resty.lrucache.pureffi" local lrucache = require " resty.lrucache " -- we need to initialize the cache on the lua module level so that -- it can be shared by all the requests served by
【文件预览】:
lua-resty-lrucache-master
----.travis.yml(2KB)
----valgrind.suppress(1KB)
----t()
--------002-should-store-false.t(660B)
--------TestLRUCache.pm(675B)
--------008-user-flags.t(4KB)
--------006-count.t(1KB)
--------005-capacity.t(481B)
--------001-sanity.t(4KB)
--------003-init-by-lua.t(2KB)
--------007-get-keys.t(4KB)
--------101-mixed.t(1KB)
--------100-pureffi()
--------004-flush-all.t(3KB)
----README.markdown(12KB)
----.gitignore(61B)
----lib()
--------resty()
----Makefile(899B)
----.gitattributes(27B)
----dist.ini(266B)

网友评论