Skip to content

feat(#5165): add Taken tuple object#5246

Draft
asmirnov-backend wants to merge 2 commits into
objectionary:masterfrom
asmirnov-backend:5165-taken-tuple
Draft

feat(#5165): add Taken tuple object#5246
asmirnov-backend wants to merge 2 commits into
objectionary:masterfrom
asmirnov-backend:5165-taken-tuple

Conversation

@asmirnov-backend

@asmirnov-backend asmirnov-backend commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Part of #5165.

Adds Taken, the pair that Phi.take(String) will return: the taken object plus a pure() flag telling whether it may be memoized.

Unused for now — consumed when Phi.take adopts the new signature and PhSticky reads pure() to decide what to cache.

The pair returned by `Phi.take(String)`: the object plus a flag telling
whether it is pure and therefore may be memoized by `PhSticky`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

🚀 Performance Analysis

All benchmarks are within the acceptable range. No critical degradation detected (threshold is 100%). Please refer to the detailed report for more information.

Click to see the detailed report
Test Base Score PR Score Change % Change Unit Mode
benchmarks.XmirBench.xmirToEO 19699.832 20026.090 326.258 1.66% ms/op Average Time

⚠️ Performance loss: benchmarks.XmirBench.xmirToEO is slower by 326.258 ms/op (1.66%)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@asmirnov-backend

Copy link
Copy Markdown
Contributor Author

@yegor256, could you please take a look

@asmirnov-backend asmirnov-backend changed the title feat(#5165): add Taken tuple type feat(#5165): add Taken tuple object Jun 19, 2026
@yegor256

Copy link
Copy Markdown
Member

@asmirnov-backend
asmirnov-backend marked this pull request as draft June 27, 2026 09:15
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