On 2008-12-22 14:04:10 -0200, Alexandre Bergel <alexandre@bergel.eu> said:
What is the size of Mars? Currently is very small, but I really don't know how to messure
this... there is a method counter or something around?
When I print this: -=-=-=-=-=-=-=-=-=-=-=-=-=-=- | marsClasses methods sizeOfAllMethods | marsClasses := Smalltalk allClasses select: [:cls | '*Mars*' match:
cls category]. methods := marsClasses inject: Set new into: [:sum :cls | sum, cls
methodDict values]. sizeOfAllMethods := methods inject: 0 into: [:sum :cm | sum + cm size]. { marsClasses size . methods size . sizeOfAllMethods } -=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I have: #(76 661 24663)
24kb is not so much, isn't?
The weight of all the mars methods is 24Kb. I do not know what is the
impact on the overall pharo image although (anyone has an idea?).
The size of bundle is 92Kb according to the mac finder.
How did you get multiple windows :) They are just cocoa windows, created each time one is needed
Are call back from cocoa handled?
doing a print on "10 + 20" prints "nil"
Are you selecting "10 + 20" before printing it? currently it does not work as expected: executing print-it (or any command) at the end of line performs the line. I'm working on that now (bah... I'm working on using OTWorkspace instead current workspace, and that should solve this minimal problems) Btw... "doit" inside a class method is not working properly either. Next release will solve this execution problems.
It looks really good!
Thanks, is great you like it :) Cheers, Esteban