A database shared data among multi-states .
Pull request Compare This branch is 1 commit behind cloudwu:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
README
database.lua
hash.c
hash.h
load.lua
lua-db.c
test.c
test.lua
testhash.c

README

database load data in an unique hash table , and share data among multi-states in the same process .

database.open(loader name)  --  opens database state.

database.get(key) -- read a key from database state.

See test.lua and load.lua for more details.