pub const MERGEABLE_NAMESPACE_PREFIX: &str = "🤝:";Expand description
Namespace prefix used to encode mergeable container IDs into Root container names.
The 🤝 (“handshake”) sentinel mirrors Loro’s 🦜: brand convention
(crates/loro-common/src/value.rs::LORO_CONTAINER_ID_PREFIX) and signals
“two peers agreeing on the same cid.” The trailing : separates the brand
from the flattened path payload; the container kind is carried on the
Root itself and is not duplicated in the name. check_root_container_name
rejects user-created root names that start with this prefix.
Cost of nesting mergeable maps inside mergeable maps: the payload embeds the nearest non-mergeable map ancestor once, followed by escaped map keys. Names grow linearly with nesting depth × average key length and ride through every op header, snapshot, and event path.