(newbie) String / Array / ArrayedCollection

nicolas cellier ncellier at ifrance.com
Sun Feb 5 19:42:42 UTC 2006


> It goes without saying that you should measure before you go too
> far with this. In Squeak, you can use:
>   "TimeProfileBrowser onBlock: [somethingToProfile]"
>
> If you decide that primitives would help, you can implement them
> as pluggable primitives in Squeak. Load VMMaker from SqueakMap to
> get started.
>
> Give it a try. If your primitives turn out to be useful, you can
> post your plugin on SqueakMap so others can make use of them. If
> they are useful to lots of folks, the various VM builders may
> want to start distributing them.
>
> If you do write primitives for numerical methods, you need to give
> some thought to making them work on both 64 bit and 32 bit Squeak
> platforms.  Almost all Squeakers are using 32 bit Squeak right
> now, but a numerical plugin that did not handle 64 bits gracefully
> would not be appreciated by the VM builders. The page is a bit
> out of date, but you can see what's involved by reading this:
>  <http://squeakvm.org/squeak64/>
>
> Dave

Thanks for advice. I do not want to write this primitive by now.
I will use/implement the messages #sum #sumOf: etc... because they are usefull 
to me, even not optimized.
I am just asking if they are good candidates to be in the base image or not.
The fact that some could be optimized is just an argument, not an intention.




More information about the Squeak-dev mailing list