Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AcidLua database schema, assuming that code never executes, the garbage collector never needs to mark anything, and there are no multi-user features
- Table(KEY, value [comment])
- ----
- Table(TABLEID, KEYTYPE, KEYVAL, valuetype [an enumerated type], valueval [a pointer or raw value])
- Function(FUNCTIONID, bytecodeid, environmentid [which points to Table])
- Bytecode(BYTECODEID, bytecode [just a blob])
- Thread(THREADID, INDEX, contextid)
- Context(CONTEXTID, pointer [into the bytecode], varlistid)
- Varlist(VARLISTID, INDEX, valuetype, valueval)
Add Comment
Please, Sign In to add comment