[Pharo-users] [Article] Speeding up factorial computation by changing the order of multiplications

Henrik Johansen henrik.s.johansen at veloxit.no
Tue May 24 11:11:43 EDT 2016


For the specially interested, there's also this fun thread from some years ago:
http://forum.world.st/Challenge-Tuning-the-large-factorial-td3588660.html <http://forum.world.st/Challenge-Tuning-the-large-factorial-td3588660.html>

Cheers,
Henry

> On 24 May 2016, at 9:57 , Sven Van Caekenberghe <sven at stfx.eu> wrote:
> 
> I just published a short, introduction level article,
> 
> Speeding up factorial computation by changing the order of multiplications.
> 
> This is a story about a small, seemingly innocent code change that speeds up a very simple computation. It is pretty magical and serves as an example of how things are not always what they seem.
> 
> https://medium.com/concerning-pharo/speeding-up-factorial-computation-by-changing-the-order-of-multiplications-f4da3a5576da#.l3nrk9oax
> 
> Enjoy,
> 
> Sven
> 
> --
> Sven Van Caekenberghe
> Proudly supporting Pharo
> http://pharo.org
> http://association.pharo.org
> http://consortium.pharo.org
> 
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160524/58093061/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160524/58093061/attachment.asc>


More information about the Pharo-users mailing list