[Pharo-users] Would smart variable ordering improve performance?

Alexandre Bergel alexandre.bergel at me.com
Fri Oct 23 17:18:54 EDT 2015


It is known that increasing data locality is a good way to benefit from CPU caches. There has been some effort from the IBM’s JVM crew that aligns some frequently accessed variables at a particular offset to improve accesses. Would this approach works in Pharo? 

Other similar situation: will the expression “Object new yourself” be faster if the object (i.e., result of Object new) is physically close to the class Object in memory?

Alexandre Bergel  http://www.bergel.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20151023/a84e54f7/attachment.html>

More information about the Pharo-users mailing list