Hi!<br><br><div class="gmail_quote">2013/1/4 Juan Vuletich <span dir="ltr"><<a href="mailto:juan@jvuletich.org" target="_blank">juan@jvuletich.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Hannes,<div class="im"><br>
<br>
H. Hirzel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello<br>
<br>
Juan added the following 'Useful expression' to the help menu<br>
<br>
<br>
"'Anaylize memory usage by class."<br>
<br>
(String streamContents: [ :strm | SpaceTally new<br>
printSpaceAnalysis: 1 on: strm ]) edit.<br>
<br>
<br>
BTW Anaylize--> Analyze<br>
<br>
</blockquote>
<br></div>
Thanks. Cuis should include an English spell checker to validate comments and strings... Maybe method names too!<div class="im"><br></div></blockquote><div><br></div><div>Interesting idea!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
'From Cuis 4.1 of 12 December 2012 [latest update: #1535] on 4 January<br>
2013 at 7:07:51 am'!<br>
Class code space # instances inst space percent<br>
Bitmap 4027 479 9766072 73.8<br>
CompiledMethod 19871 16257 1079727 8.2<br>
Array 1705 16109 568848 4.3<br>
String 19703 16710 357878 2.7<br>
TrieNode 1883 14232 284640 2.2<br>
Symbol 3937 13745 277724 2.1<br>
ByteArray 4547 19 154792 1.2<br>
WeakArray 860 43 146944 1.1<br>
TrieLeaf 560 10674 128088 1.0<br>
MethodDictionary 2118 1310 126148 1.0<br>
Association 662 6436 77232 0.6<br>
<br>
<br>
So the major part of the image is taken by instances of Bitmap.<br>
<br>
Interesting....<br>
<br>
</blockquote>
<br></div>
Yes. If you remove the desktop background and reduce the color depth of anti aliased fonts, you can reduce the image to about half the size. See #reduceCuis. In addition, it is very easy to disable the autocompletion mechanism and save some space used by TrieNode and TrieLeaf. BTW, the autocompletion implementation is really one of Cuis' "best kept secrets". Just check it. It is way better than ecompletion and ocompletion, and it would deserve to be adopted for Squeak...<div class="HOEnZb">
<div class="h5"><br></div></div></blockquote><div><br></div><div>Wow, nice to know, I will look into asap.</div><div><br></div><div><br></div></div><br clear="all"><div><br></div>-- <br>Sincerely,<br> <span>Germán Arduino<br>
<a href="http://about.me/garduino" target="_blank">about.me/garduino</a></span>