[squeak-dev] The Trunk: System-nice.365.mcz

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sat Aug 28 21:37:51 UTC 2010


2010/8/28  <commits at source.squeak.org>:
> Nicolas Cellier uploaded a new version of System to project The Trunk:
> http://source.squeak.org/trunk/System-nice.365.mcz
>
> ==================== Summary ====================
>
> Name: System-nice.365
> Author: nice
> Time: 28 August 2010, 11:04:20.183 pm
> UUID: 1bf5db4f-8a26-4a8b-b5e8-1341c113f4db
> Ancestors: System-nice.364
>
> Boost non primitive version of SecureHashAlgorithm by about 33% with these two simple things:

Hem, no, boost primitive version by 33%.
Non primitive has only 5% gain because load: time is masked by
expensive ThirtyTwoBitRegister operations

Nicolas

> 1) replace ThirtyTwoBitRegister>>load: postCondition with a cheaper preCondition
> 2) provide two instance creation message to avoid loading ThirtyTwoBitRegister value twice
> Last, remove a useless ThirtyTwoBitRegister copy, though it does not make much difference.
>



More information about the Squeak-dev mailing list