-
Notifications
You must be signed in to change notification settings - Fork 137
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
Replace simpleTypeIDByType
with a bimap
#2775
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:feature/stable-cadence commit e0407b6 Collapsed results for better readability
|
Are there any other maps like this that we could replace with bimaps? Maybe in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Co-authored-by: Bastian Müller <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## feature/stable-cadence #2775 +/- ##
==========================================================
- Coverage 79.67% 79.67% -0.01%
==========================================================
Files 339 342 +3
Lines 80746 80665 -81
==========================================================
- Hits 64336 64269 -67
+ Misses 14105 14092 -13
+ Partials 2305 2304 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Part of #2642
Description
This implements a lock free (thread unsafe) version of https://github.com/vishalkuo/bimap, and then uses it to implement the behavior of
simpleTypeIDByType
andtypeBySimpleTypeID
in the CCF.master
branchFiles changed
in the Github PR explorer