Skip to content

Reified RSpaces [3/11]: Outer storage (channel store) implementations#330

Open
dylon wants to merge 3 commits intofeature/reified-rspaces-02-inner-collectionsfrom
feature/reified-rspaces-03-outer-storage
Open

Reified RSpaces [3/11]: Outer storage (channel store) implementations#330
dylon wants to merge 3 commits intofeature/reified-rspaces-02-inner-collectionsfrom
feature/reified-rspaces-03-outer-storage

Conversation

@dylon
Copy link
Copy Markdown
Collaborator

@dylon dylon commented Jan 16, 2026

Summary

  • ChannelStore trait and implementations
  • HashMap, PathMap, Array, Vector, HashSet channel stores
  • VectorDB-aware channel store for similarity routing
  • Storage type specifications (InnerCollectionType, OuterStorageType)
  • PathMap prefix semantics for hierarchical channels

This is PR 3 of 11 in the Reified RSpaces implementation.

Depends on: Reified RSpaces [2/11]: Inner collection implementations

This PR adds the ChannelStore trait and implementations:

Defines the interface for channel-indexed storage with:
- Associated types for channels, patterns, data, continuations
- Associated types for data and continuation collections
- Core operations: get, put, remove, iterate

- hashmap_store.rs: HashMap-based storage (default)
- pathmap_store.rs: PathMap for hierarchical keys with prefix semantics
- rholang_pathmap_store.rs: Rholang-specific PathMap integration
- array_store.rs: Array-indexed storage for integer keys
- vector_store.rs: Vector-indexed storage with dynamic sizing
- hashset_store.rs: HashSet-based deduplicating storage
- vectordb_store.rs: VectorDB-aware storage for similarity matching

- PathMapKeyConversion: Convert channel types to PathMap keys
- PathTrie: Trie structure for hierarchical path storage

This is PR 3 of 11 for the Reified RSpaces implementation.
@dylon dylon marked this pull request as ready for review January 16, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant