Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QueryR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Lopez
QueryR
Commits
b21dc601
Commit
b21dc601
authored
8 years ago
by
Lukas Stadler
Browse files
Options
Downloads
Patches
Plain Diff
use “previousLookups” to speed up FrameSlotChangeMonitor.invalidateAllNames
parent
d1621a4b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
com.oracle.truffle.r.runtime/src/com/oracle/truffle/r/runtime/env/frame/FrameSlotChangeMonitor.java
+5
-3
5 additions, 3 deletions
...e/truffle/r/runtime/env/frame/FrameSlotChangeMonitor.java
with
5 additions
and
3 deletions
com.oracle.truffle.r.runtime/src/com/oracle/truffle/r/runtime/env/frame/FrameSlotChangeMonitor.java
+
5
−
3
View file @
b21dc601
...
...
@@ -391,9 +391,11 @@ public final class FrameSlotChangeMonitor {
}
}
target
.
lookupResults
.
clear
();
target
.
previousLookups
.
clear
();
for
(
FrameDescriptor
sub
:
target
.
subDescriptors
)
{
invalidateAllNames
(
getMetaData
(
sub
));
if
(!
target
.
previousLookups
.
isEmpty
())
{
target
.
previousLookups
.
clear
();
for
(
FrameDescriptor
sub
:
target
.
subDescriptors
)
{
invalidateAllNames
(
getMetaData
(
sub
));
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Julien Lopez
@jlopez
Mentioned in commit
3525c506
·
8 years ago
Mentioned in commit
3525c506
Mentioned in commit 3525c506d90c78e294c7ca3e133e9c42009acbef
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment