Skip to content

Conversation

RTann
Copy link
Contributor

@RTann RTann commented Jun 27, 2025

Go 1.24 introduced weak pointers. According to the docs as well as this blog post, weak pointers will greatly simplify the Fetch Arena, as it eliminates the need to manually count references to each layer.

This PR replaces the manual ref counting with weak pointers and runtime.AddCleanup.

@RTann RTann requested a review from a team as a code owner June 27, 2025 16:50
@RTann RTann requested review from hdonnay and removed request for a team June 27, 2025 16:50
@RTann RTann force-pushed the fetcharena-revamp branch from 2b6e6be to d97a605 Compare June 27, 2025 17:00
Signed-off-by: RTann <rtannenb@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
@RTann RTann force-pushed the fetcharena-revamp branch from d97a605 to 6c67b70 Compare June 27, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant