[Vm-dev] byteSizeOf: is that correct for 64bit images? Also what about the (sqInt)(long)

John M McIntosh johnmci at smalltalkconsulting.com
Mon Dec 21 02:11:11 UTC 2009


Careful, this is a class var. 

This does not work on external plugins, so I think you'll find the proper pattern is 

self bytesPerWord   which does the right thing if the code is in a plugin versus  ObjectMemory or subclass of. 


On 2009-12-20, at 5:42 PM, David T. Lewis wrote:

>> BytesPerWord

--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================






More information about the Vm-dev mailing list