3 ms·
Here's one of the more central files that ties into how a Jd database is laid out: https://github.com/jsoftware/data_jd/blob/master/base/common.ijs https://git
by mlochbaum 5y ago
Here's one of the more central files that ties into how a Jd database is laid out:
https://github.com/jsoftware/data_jd/blob/master/base/common.ijs https://github.com/jsoftware/data_jd/blob/master/base/common...
Not that I claim anyone in particular can read it of course. Jd uses a hierarchy of folder, database, table, column that's handled with an object system to share code between them. A folder is just a place to put databases and hardly needs to add anything, while the other levels have a lot of extra functionality. As an inverted database, Jd stores each column in a file, and accesses it using memory mapping.
https://github.com/jsoftware/data_jd/blob/master/base/folder.ijs https://github.com/jsoftware/data_jd/blob/master/base/folder...
https://github.com/jsoftware/data_jd/blob/master/base/table.ijs https://github.com/jsoftware/data_jd/blob/master/base/table....
(I designed this system when I did some of the early work to turn JDB into Jd as a summer intern)