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

Serge Stinckwich serge.stinckwich at gmail.com
Tue May 24 04:21:22 EDT 2016


Very nice article Sven !

Can you contribute your code to the PolyMath project under the MIT
Licence (and maybe some tests) ?

Thank you.

On Tue, May 24, 2016 at 8:57 AM, 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
>
>
>
>
>



-- 
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/




More information about the Pharo-users mailing list