Module published
Expand description
A published resource tree whose unchanged subtrees are shared between versions.
tilo_actions::Resource owns its children inline, so two versions of a
tree cannot share an item and nothing reading them can tell an unchanged
item from a changed one without comparing it. A keystroke in a field no
item depends on then rebuilt, copied, filtered and re-mirrored every item
of a long list. A SharedResource holds the same tree with
its children behind Rcs: a publisher hands over the very nodes of
the last version where nothing changed, and every consumer — permission
filtering, control availability, the accessibility tree — skips a subtree
it has seen by pointer. SharedResource::to_resource gives the
ordinary tree back, exactly as published, for consumers of the whole
surface (the palette, agents, search).
Structs§
- Shared
Children - The children of a
SharedResource, shared as a whole while none of them changed. - Shared
Resource - A published resource: its own part (identity, actions, views) and its children, shared with every version that did not change them.
Functions§
- to_
resources forestas ordinary trees.