Skip to content

Commit

Permalink
Speedup "senders" and "implementors" tab.
Browse files Browse the repository at this point in the history
- It is already faster due to not wrapping in Ring Definitions
- It was getting the lists twice, I changed that to only one time
- it was *rendering* the code for the method, not the name --> much faster without that.

It might be still too slow on large images, but we should check that before we remove.

fixes #5478
  • Loading branch information
MarcusDenker committed Feb 6, 2020
1 parent 88bb776 commit 4f4b4b4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/GT-InspectorExtensions-Core/Symbol.extension.st
Expand Up @@ -6,7 +6,7 @@ Symbol >> gtInspectorImplementorsIn: composite [
composite list
title: 'Implementors';
display: [ self systemNavigation allImplementorsOf: self ];
when: [ (self systemNavigation allImplementorsOf: self) notEmpty ];
format: #name;
showOnly: 30
]

Expand All @@ -16,7 +16,6 @@ Symbol >> gtInspectorSendersIn: composite [
composite list
title: 'Senders';
display: [ self systemNavigation allSendersOf: self ];
when: [ (self systemNavigation allSendersOf: self) notEmpty ];
showOnly: 30;
withSmalltalkSearch
format: #name;
showOnly: 30
]

0 comments on commit 4f4b4b4

Please sign in to comment.