Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow mixing Gc pointers from different CollectorIds #33

Open
Techcable opened this issue Sep 11, 2021 · 0 comments
Open

Allow mixing Gc pointers from different CollectorIds #33

Techcable opened this issue Sep 11, 2021 · 0 comments

Comments

@Techcable
Copy link
Member

This should work cleanly for CollectorIds of different types. Mixing multiple collector ids of the same type is unlikely to be supported right now.

I already have a doctest demonstrating the expected behavior.

All that remains is to get the procedural drive to support it, then test mixing the 'simple' collector with the 'epsilon' collector.
The main difficulty is breaking the derive macro's current assumption that there is a single 'gc lifetime. With multiple collector ids, there are likely to be multiple GC lifetimes.

Techcable added a commit that referenced this issue Sep 11, 2021
See issue #33 for details.

This feature is currently unfinished. I don't have time to implement it
right now, but I also don't want to remove the test completely.
The failing test was *really* getting annoying.
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

No branches or pull requests

1 participant