Guest User

Untitled

a guest
Dec 11th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. AcidLua database schema, assuming that code never executes, the garbage collector never needs to mark anything, and there are no multi-user features
  2.  
  3. Table(KEY, value [comment])
  4.  
  5. ----
  6.  
  7. Table(TABLEID, KEYTYPE, KEYVAL, valuetype [an enumerated type], valueval [a pointer or raw value])
  8.  
  9. Function(FUNCTIONID, bytecodeid, environmentid [which points to Table])
  10.  
  11. Bytecode(BYTECODEID, bytecode [just a blob])
  12.  
  13. Thread(THREADID, INDEX, contextid)
  14.  
  15. Context(CONTEXTID, pointer [into the bytecode], varlistid)
  16.  
  17. Varlist(VARLISTID, INDEX, valuetype, valueval)
Add Comment
Please, Sign In to add comment