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

Work in progress (do not land): expose arena as type parameter #210

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

dwrensha
Copy link
Member

@dwrensha dwrensha commented Dec 13, 2020

This uses Generic Associated Types, which are not on stable rust yet. Also, it looks like it's getting pretty complicated, and it's still in very rough draft proof-of-concept form.

It does, however, bring some improvements:

  • some benchmarks run ~10% faster, presumably due to elimination of dynamic dispatch
  • potentially resolves Sync ReadLimiter #201
  • allows Alignment to be specified as a type parameter, so we would no longer need the unaligned feature flag
  • eliminates some RefCell hacks

@dwrensha dwrensha mentioned this pull request Dec 13, 2020
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