Skip to content

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