Skip to content

Bundling tiled access for getting shapes to eliminate back and forth - #46

Merged
cjtitus merged 1 commit into
masterfrom
tiled_hotfix
Oct 16, 2026
Merged

cjtitus merged 1 commit into
masterfrom
tiled_hotfix

Conversation

@cjtitus

@cjtitus cjtitus commented Oct 16, 2026

Copy link
Copy Markdown
Member

Managed to eliminate ~dozens of Tiled server GET requests by storing a reference to the data accessor

d = r['primary/data']
shape = d[<key>].shape

So that it doesn't need to be created (using multiple tiled requests) every time we want to get a shape via

shape = r['primary/data/<key>'].shape

@cjtitus
cjtitus merged commit 9f7c3b5 into master Oct 16, 2026
3 checks passed
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