propensive / fury-old

A new build tool for JVM languages
Apache License 2.0
413 stars 34 forks source link

use compact OGDL format for differences #23

Closed propensive closed 5 years ago

propensive commented 5 years ago

Schemas are "complete copies of the entire workspace", but could be serialized (and deserialized) more efficiently. Given two OGDL structures, it should be possible to represent the second as a set of changes relative to the first, dramatically reducing the amount of data which needs to be stored.

propensive commented 5 years ago

There would need to be some encoding for removal of elements from a list. If we guarantee that elements cannot start with a -, then removals should be identified as the previous ID, prefixed with a -.

propensive commented 5 years ago

I'm not sure this issue is really necessary. Even the biggest builds will be readable very fast, without the complexity of handling a more space-optimal format. Closing.