Loading...

factor-talk@lists.sourceforge.net

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [Factor-talk] Digits of Pi Slava Pestov Mon Jun 01 01:01:05 2009

Hi Peter,

Take a look at the implementation in extra/benchmark/pidigits/, it's a
bit cleaner.

Slava

On Fri, May 29, 2009 at 11:04 PM, Peter Salvi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> after spending a few nights reading Factor code, I've decided to try
> my hand at writing some code myself. I selected the `pidigits' problem
> from the `Computer Language Benchmarks Game' for practice, and here's
> the result:
>
>  http://paste.factorcode.org/paste?id=703
>
> I would be grateful if someone could comment on my use of the language
> (the algorithm is a direct translation of the paper cited on the
> benchmark page, and thus not very efficient, but that was not the
> point for me now).
>
> Thank you,
>
> Peter
>
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> Factor-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Factor-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/factor-talk