An optimization example

20 October, 2006

In a recent discussion on the Squeak-dev mailing list, a Squeak implementation of the Sieve of Eratosthenes was compared with a Java implementation.

Andres Vallous took the original code submitted to the list and produced an optimized version of it. His message to Squeak-dev details the step of this optimization.

Together with Andreas Raab’s MessageTally tutorial, this example is a good guide on how to profile and optimize an algorithm written in Smalltalk

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: