Skip to content

Inspector can be slow for dictionaries #35

Open
@j4yk

Description

@j4yk

Try inspecting the DependentsFields class variable in Object. In an image with many such dependents (I have 17966 in the image in which I tried it). It will take a while to open the inspector, and once it is open will still make Squeak overall less responsive (maybe due to the polling updates of the inspector and thus taking the long time more often, in the UI process).

(The inspectors for sequenceable collections cut short the amount of fields with an ellipsis item (...). The dictionary inspectors apparently do not do the same. EDIT: I just inspected another WeakIdentityKeyDictionary with 23081 elements and everything was fine there, and there was an ellipsis field.

Would it make sense to also introduce the ellipsis for dictionaries? Or is there a better way to get a faster reaction from Squeak?)

Can we protect the tools from slowness introduced by certain collection elements with reasonable effort?

Squeak version: 21829 21848
Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-mt.3184]
Win32 built on May 11 2022 07:53:00 Compiler: Clang 14.0.0
platform sources revision VM: 202205110711

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement[WHAT] New feature, idea, conceptprogrammer[SCOPE] It is for the (maybe professional) programmertools and libraries[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions