Skip to content

Conversation

@michaelsproul
Copy link
Member

This is an attempt to remove the need for mutability in TreeHash, by using ArcSwap and RwLock to handle the pending updates.

Alternative to these other 2 approaches which hit dead ends:

@dapplion
Copy link

dapplion commented Oct 2, 2024

What's the expected overhead of these locks?

@michaelsproul
Copy link
Member Author

A few ms max, but let's do some benchmarks once it works.

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.

3 participants