Cheers,Why not?Do you know a better grid morph?
I have tested several ones but there is no way to visualize big matrices in Pharo (I am avoiding to switch to VisualWorks for now).
Hern�n2014-06-26 9:51 GMT-03:00 Esteban Lorenzano <estebanlm@gmail.com>:
he, you are trying to open a tree with 1000 columns and 10000 rows.that will never work, not like that.EstebanOn 26 Jun 2014, at 09:45, Hern�n Morales Durand <hernan.morales@gmail.com> wrote:Then you open and press F2, Display version information, CogVM 4.0.0 from May 15 2014.Yes, sorry I forgot that. Pharo 3.0 clean image Latest update: #30850, on Windows 8$ wget -O- get.pharo.org/30+vm | bash
The VM is the one downloaded when you do
Script to reproduce it:
Smalltalk garbageCollect.
[ | matrix rows cols tree |
rows := 10000.
cols := 1000.
matrix := Matrix rows: rows columns: cols.
1 to: rows do: [ : r |
1 to: cols do: [ : c |
matrix at: r at: c put: SmallInteger maxVal atRandom ] ].
tree := TreeModel new.
tree columns: (
(1 to: cols) collect: [ : col |
TreeColumnModel new
displayBlock: [ : node | (node content at: col) asString ];
headerLabel: col asString ]).
tree roots: ((1 to: rows) collect: [ : nrow | matrix atRow: nrow ]).
tree openWithSpec ] timeToRunHern�n2014-06-26 2:48 GMT-03:00 stepharo <stepharo@free.fr>:
Hi hernan
Which image?
What did you loaded?
Can you reproduce it?
Can someone explain what does it mean or why it happens?
Is that a common scenario for you?
I am measuring execution time for big matrices in CogVM 4.0.0. Image is unresponsive.
Cheers,
Hern�n