Skip to content

Conversation

@CorvusPrudens
Copy link
Contributor

This PR makes ArcGc generic over its collector. The API mirrors the standard library's unstable Allocator API.

This should introduce zero overhead compared to the previous implementation given the default collector. It also requires no code changes except in how we call the default collection.

The way the test collector is written should guarantee that it behaves the same as the global one except that it's isolated from other tests. The test now passes reliably.

@BillyDM
Copy link
Owner

BillyDM commented Mar 9, 2025

Looks good. Thanks!

@BillyDM BillyDM merged commit 400f46c into BillyDM:main Mar 9, 2025
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.

2 participants