"official" VMs

John M McIntosh johnmci at smalltalkconsulting.com
Wed Aug 23 18:32:00 UTC 2000


on 8/23/00 10:20 AM, Tim Rowledge at tim at sumeru.stanford.edu wrote:

> 
> 
> Ian Piumarta wrote:
> 
>> So I _still_ don't know why the table is needed -- except to associate
>> a numeric primitive index with a named primitive (which I would
>> consider an ugly performance hack and certainly not a "crystalisation
>> of style" ;-).
> That was Andreas' way of making an old 'numbered-prim' image work with a
> newer 'named-prim' VM. The table can be removed someday. Nothing to do
> with performance.

Seems to me someone could write a small change set, that trundles thru your
image and alters all usage of the official number primitives to the named
primitives. 

Takers?

--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================
Custom Macintosh programming & various Smalltalk dialects
PGP Key: DSS/Diff/46FC3BE6
Fingerprint=B22F 7D67 92B7 5D52 72D7  E94A EE69 2D21 46FC 3BE6
===========================================================================





More information about the Squeak-dev mailing list