@pervognsen@mastodon.social
@blackeggs@infosec.exchange The point is that you're dealing with a general tree-like structure just to represent a single node in a persistence-friendly way, i.e. you're essentially composing multiple persistent data structures and you should probably express your code in that way, and for that part you need balanced or radix trees or something like that.
@blackeggs@infosec.exchange
@pervognsen@mastodon.social
RADDBG uses hierarchical string trees for storing upstream Config state (the master state where more fine-grained state is computed) and they use LCRS trees. This had me wondering how you would actually make such a data structure persistent. If you have persistency then you trivially have undo/redo I believe.
https://github.com/EpicGamesExt/raddebugger/blob/e1d6b9f3196693160dce5664e321c028b8a74aa9/src/raddbg/raddbg_core.h#L274