Skip to content

host: add borrowed aggregate reads#83

Merged
waywardmonkeys merged 1 commit into
forest-rs:mainfrom
waywardmonkeys:mine/host-context-borrowed-aggregate-reads
May 30, 2026
Merged

host: add borrowed aggregate reads#83
waywardmonkeys merged 1 commit into
forest-rs:mainfrom
waywardmonkeys:mine/host-context-borrowed-aggregate-reads

Conversation

@waywardmonkeys
Copy link
Copy Markdown
Contributor

Add borrowed tuple, struct, and array accessors on AggHeap and expose ValueRef-returning convenience methods on HostContext. Also expose aggregate kind and shape metadata directly through HostContext.

The owned aggregate readers remain available, but hosts that only need to inspect arguments can now avoid cloning aggregate contents into Value first.

Add borrowed tuple, struct, and array accessors on AggHeap and expose ValueRef-returning convenience methods on HostContext. Also expose aggregate kind and shape metadata directly through HostContext.

The owned aggregate readers remain available, but hosts that only need to inspect arguments can now avoid cloning aggregate contents into Value first.
@waywardmonkeys waywardmonkeys merged commit 977ad3b into forest-rs:main May 30, 2026
15 checks passed
@waywardmonkeys waywardmonkeys deleted the mine/host-context-borrowed-aggregate-reads branch May 30, 2026 14:59
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