Skip to content
Snippets Groups Projects
Commit 7c381b9d authored by Justin Mitchell's avatar Justin Mitchell
Browse files

More notes on ideas for db file format,

committed for future reference.
parent c98f179a
No related branches found
No related tags found
No related merge requests found
......@@ -76,4 +76,17 @@ in question, this number should be unique throughout all the databases,
i.e. a portion of the bit field represents which db file it is from,
thus preventing accidental cross-use, and allowing persistant references.
Database file format
====================
main data file
[ oid ] [ key size ] [ data size ] [ key ] [ data ]
where oid is an int
other thoughts, add a record size as first field,
and makes records a multiple of 2 of some type,
maybe 64 byte chunks. so that variables that resize slightly
very often wont flap about.
***/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment