-
Notifications
You must be signed in to change notification settings - Fork 35
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 the slow slotname Dict with a counter ("age")-based mechanism #307
Conversation
Codecov Report
@@ Coverage Diff @@
## master #307 +/- ##
=========================================
+ Coverage 88.17% 88.47% +0.3%
=========================================
Files 11 11
Lines 1742 1753 +11
=========================================
+ Hits 1536 1551 +15
+ Misses 206 202 -4
Continue to review full report at Codecov.
|
src/types.jl
Outdated
@@ -176,10 +180,11 @@ mutable struct Frame | |||
framecode::FrameCode | |||
framedata::FrameData | |||
pc::Int | |||
assignment_counter::Int |
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.
Could potentially make this a concrete Int64
if we worry at all about overflow (on 32-bit)
Does the approval mean you know it doesn't break Debugger.jl? How about Juno? |
It means the PR on its own is good but it is indeed breaking Debugger. Will fix that up tomorrow. |
JuliaDebug/Debugger.jl#198 should fix the Debugger.jl side. |
Let's wait for @pfitzseb to get a chance to look it over, in case it has more negatives than we might imagine. |
JunoLab/Atom.jl#148 should fix the Juno side. |
I think we should just put |
Agreed, it feels bad to have to keep both copies in sync... |
Co-authored-by: "Kristoffer Carlsson" <[email protected]>
Ok, with |
Old benchmarks:
vs this branch:
Take with a grain of salt, there is a fair amount of variance. But the last one is consistently cut to about 80% of the original.