Hi,
anyone knows how to use NewList without icons.
Background:
I have a collection with 5000 entries, every entry is
a list of 20 strings. Inspecting this collection works, but
scrolling the left pane of the inspector window is awfully slow.
This is unexpected, as the only changing visual parts are the
collection indices.
For exampel, inspect the following collection:
(1 to:5000) collect:[:x | (1 to:20) collect:[:t| t asString] ].
Dragging the scrollbar (or only dragging the window) is slow.
Ok, there are many entries, but now, change this method
(return nil instead of accessing the cache)
NewList>>#iconForItem:at:
^nil
������ "^ iconCache
������ ������ at: anItem
������ ������ ifAbsentPut: [ (self model iconForItem: anItem at: anIndex) asMorph ]"
scrolling is smooth.