Anyone have an old Pentium II machine?

Geoff Canyon gcanyon at gmail.com
Sun Sep 8 21:36:35 EDT 2013


Interesting that the naive solution (1) isn't a dog anymore, although (6)
is still best.


On Sun, Sep 8, 2013 at 5:24 PM, Alex Tweedly <alex at tweedly.net> wrote:

> For versions 1 and 6 (I didn't bother initially with the intermediate
> ones).
>
> Here's the full result:
> (all on Macbook Pro, OSX 10.8.4, and the built-in Python version 2.7.5)
> (code, except for putting in a loop to do them all, as sent in the earlier
> email)
>
> method 1
> time 0.025813  taking  3874016.96819
>
>
> method 2
> time 3.024751  taking  33060.5725893
>
>
> method 3
> time 0.053624  taking  1864836.64031
>
>
> method 4
> time 0.032143  taking  3111097.28401
>
>
> method 5
> time 0.069747  taking  1433753.42309
>
>
> method 6
> time 0.019208  taking  5206164.09829
>
> Clearly the relative speeds are very different from what they were back at
> Python 2.2
>
> -- Alex.
>
>
> On 08/09/2013 18:00, Geoff Canyon wrote:
>
>> On Sun, Sep 8, 2013 at 8:38 AM, Alex Tweedly <alex at tweedly.net> wrote:
>>
>> For which of his 6 versions of the code?
>> ______________________________**_________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>>
>
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



More information about the use-livecode mailing list