Skip to content

Reified RSpaces [2/11]: Inner collection implementations#329

Open
dylon wants to merge 3 commits intofeature/reified-rspaces-01-foundationfrom
feature/reified-rspaces-02-inner-collections
Open

Reified RSpaces [2/11]: Inner collection implementations#329
dylon wants to merge 3 commits intofeature/reified-rspaces-01-foundationfrom
feature/reified-rspaces-02-inner-collections

Conversation

@dylon
Copy link
Copy Markdown
Collaborator

@dylon dylon commented Jan 16, 2026

Summary

  • Bag, Queue, Stack, Set, Cell, PriorityQueue data collections
  • Continuation collection variants (Bag, Queue, Stack, Set)
  • VectorDBDataCollection for similarity-aware storage
  • SmartDataStorage and SmartIterator for efficient iteration
  • LazyResultProducer for deferred computation

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

Depends on: Reified RSpaces [1/11]: Foundation traits and collections module structure

This PR adds the concrete inner collection implementations:

- BagDataCollection: Unordered multiset semantics
- QueueDataCollection: FIFO ordering
- StackDataCollection: LIFO ordering
- SetDataCollection: Unique elements, idempotent writes
- CellDataCollection: Single value, exactly-once semantics
- PriorityQueueDataCollection: Priority-ordered retrieval

- BagContinuationCollection: Unordered continuation storage
- QueueContinuationCollection: FIFO continuation matching
- StackContinuationCollection: LIFO continuation matching
- SetContinuationCollection: Unique continuation patterns

- storage.rs: SmartDataStorage, SmartIterator for efficient iteration
- vectordb_coll.rs: VectorDBDataCollection for similarity-based matching
- lazy.rs: LazyResultProducer for deferred result computation
- types/collections.rs: InnerCollectionType, OuterStorageType enums

This is PR 2 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