Skip to content

Add Tiled array that repeats a child array n times - #10950

Open
robert3005 wants to merge 2 commits into
developfrom
rk/tiled-array
Open

robert3005 wants to merge 2 commits into
developfrom
rk/tiled-array

Conversation

@robert3005

Copy link
Copy Markdown
Contributor

TiledArray repeats its child end to end count times. Execution decodes
the child once and appends it per tile via Chunked; scalar_at wraps the
index; validity tiles the child's validity. Reduce rules collapse empty,
single-count, constant-child and nested tiles, and slices within one tile
or over whole tiles stay cheap. It is in-memory only and not registered
for serialization.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_018SWbEv9WiVtYt84zf3rXEu
Signed-off-by: Claude noreply@anthropic.com

TiledArray repeats its child end to end `count` times. Execution decodes
the child once and appends it per tile via Chunked; scalar_at wraps the
index; validity tiles the child's validity. Reduce rules collapse empty,
single-count, constant-child and nested tiles, and slices within one tile
or over whole tiles stay cheap. It is in-memory only and not registered
for serialization.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018SWbEv9WiVtYt84zf3rXEu
Signed-off-by: Claude <noreply@anthropic.com>
The fixed-size list builder's repeated-list append and constant
fixed-size list canonicalization both tiled one array by building a
ChunkedArray of n clones of it. Build a TiledArray instead, which stores
the count rather than n chunk references and offsets. The builder
optimizes the result so a constant tile collapses into one constant.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018SWbEv9WiVtYt84zf3rXEu
Signed-off-by: Claude <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

2 participants