Maxima/Ecl on 32-bit machine cannot evaluate "apply(union, listify({{..}}))"
Subject: Maxima/Ecl on 32-bit machine cannot evaluate "apply(union, listify({{..}}))"
From: Barton Willis
Date: Wed, 3 Sep 2008 19:17:00 -0500
(%i2) xreduce('union,create_list({i},i,1,10000))$
Evaluation took 161.4600 seconds (161.4600 elapsed)
(%i3) tree_reduce('union,create_list({i},i,1,10000))$
Evaluation took 0.3600 seconds (0.3600 elapsed)
For this test, tree_reduce is so much faster, it makes me
think it's buggy.
Barton
-----maxima-bounces at math.utexas.edu wrote: -----
>(%i8)?xreduce(union,create_list({i},i,1,10000))$
>Evaluation?took?876.0147?seconds?(898.9797?elapsed)?using?4205.856?MB.
>(%i9)?apply(union,create_list({i},i,1,10000))$
>Evaluation?took?153.9416?seconds?(163.0768?elapsed)?using?1534.958?MB.