Skip to content

Redesign @memoize index mode#20

Merged
maleadt merged 3 commits into
mainfrom
tb/index
Jun 20, 2026
Merged

Redesign @memoize index mode#20
maleadt merged 3 commits into
mainfrom
tb/index

Conversation

@maleadt

@maleadt maleadt commented Jun 20, 2026

Copy link
Copy Markdown
Member

The switch is more clear now: @memoize without argumen is single-value mode, passing index= triggers array mode, passing key= triggers Dict mode. Breaking change.

maleadt and others added 3 commits June 20, 2026 16:39
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The `index=`/`key=` redesign removes the `maxlen` and positional-key
forms shipped in 2.0.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@maleadt maleadt merged commit f971bcd into main Jun 20, 2026
10 checks passed
@maleadt maleadt deleted the tb/index branch June 20, 2026 15:13
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