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

chore: replace RwLock for RefCell in storage for tests #665

Merged
merged 2 commits into from
Jan 26, 2023

Conversation

aleksuss
Copy link
Member

Description

The PR just replaces RwLock with RefCell in a StoragePointer struct. It seems that RefCell is pretty enough in this case.

Performance / NEAR gas cost considerations

The changes touch test code only, so there is no regression.

Testing

All tests have been passed.

@aleksuss aleksuss requested a review from mrLSD January 25, 2023 11:04
@aleksuss aleksuss requested a review from joshuajbouw as a code owner January 25, 2023 11:04
@aleksuss aleksuss force-pushed the chore/aleksuss/rwlock_to_refcell branch from d6ea73e to 6844b7f Compare January 26, 2023 11:20
@aleksuss aleksuss merged commit 85e2e23 into develop Jan 26, 2023
@aleksuss aleksuss deleted the chore/aleksuss/rwlock_to_refcell branch January 26, 2023 11:35
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