GemTalk / Jadeite

IDE for GemStone Smalltalk application development using Rowan code management
MIT License
6 stars 2 forks source link

Make it possible to inspect all elements of a very large collection (3.0.92) #683

Open LisaAlmarode opened 4 years ago

LisaAlmarode commented 4 years ago

If you have a very very large collection, it should be possible in some way to inspect any of the elements in that collection. Unfortunately, Dolphin currently has some issues in the scrollbar that don't support more than ~65K elements (see issue #668).

The problem collection:

| coll | coll := Array new. 1 to: 2000000 do: [:i | coll add: 'entry', i asString]. coll

We agreed earlier we don't want the segmented inspector. The current inspector displays the first 1000 elements, with a "more" option. The "display all" displays 65k elements. I like this design.

I propose that the "display all", rather than displaying all in the same inspector, switches you to a segmented inspector, with largeish segments, say 10k elements per segment.

While older jadeite versions could open an inspector on a 2m object collection, it took much too long; one would assume it was hung. Changing segment selection could trigger bringing just that set of elements into memory, which would be reasonably quick.

LisaAlmarode commented 1 year ago

Behavior the same in 3.2.12: hard limit of 65000 objects.