summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Nick Downing [Thu, 6 Jan 2022 22:50:51 +0000 (09:50 +1100)]
Rationalize how root is stored to make it more like an item of an array or object (if primitive, stored directly, otherwise as a [ptr, len] reference array)
Nick Downing [Thu, 6 Jan 2022 08:32:13 +0000 (19:32 +1100)]
Implement Database.(read|write)() to reduce duplication and allow caching later
Nick Downing [Thu, 6 Jan 2022 01:44:17 +0000 (12:44 +1100)]
Make a Transaction object, temporarily removes caching ability (Transaction object and all cached read/write data is thrown away at the end of a transaction)
Nick Downing [Wed, 5 Jan 2022 03:21:08 +0000 (14:21 +1100)]
Make LazyXXX an inner object of Database, so that LazyXXX.database is set at construction time, doesn't change thereafter, and must match when building trees
Nick Downing [Wed, 5 Jan 2022 03:08:43 +0000 (14:08 +1100)]
Rename (F|f)ile to (D|d)atabase
Nick Downing [Wed, 5 Jan 2022 01:43:40 +0000 (12:43 +1100)]
Reinstate primitive object optimization
Nick Downing [Wed, 5 Jan 2022 01:41:47 +0000 (12:41 +1100)]
Implement dirty flag, to prepare for reinstating primitive object optimization
Nick Downing [Wed, 5 Jan 2022 01:21:36 +0000 (12:21 +1100)]
Allow for nonexistent root item, make get() default value be written back
Nick Downing [Wed, 5 Jan 2022 01:08:21 +0000 (12:08 +1100)]
Get lazy writing working
Nick Downing [Wed, 5 Jan 2022 00:24:32 +0000 (11:24 +1100)]
Temporarily remove optimization of writing primitive JSON values directly, so that all children of array or object consist of a [ptr, len] redirection record
Nick Downing [Tue, 4 Jan 2022 11:29:09 +0000 (22:29 +1100)]
Get lazy reading working
Nick Downing [Tue, 4 Jan 2022 08:28:58 +0000 (19:28 +1100)]
Put methods into a class called logjson.File
Nick Downing [Tue, 4 Jan 2022 04:15:24 +0000 (15:15 +1100)]
Initial commit, can read and write a JSON tree in log style and append to a log