Repository navigation
Add Tiled array that repeats a child array n times - #10950
Open
robert3005 wants to merge 2 commits into
Open
robert3005 wants to merge 2 commits into
robert3005 wants to merge 2 commits into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TiledArray repeats its child end to end
counttimes. Execution decodesthe 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