Hi,
I have changed the reduction operator to use to_value() only i
neccessary. SVN 663.
I believe some of the measurements look different now.
/// Jürgen
On 08/28/2015 02:51 PM, Elias Mårtenson
wrote:
In this particular case, the performance would be
doubled if the copying was eliminated. If that is done, along
with an optimisation of the reduction operators, you would see
at least a 10× improvement.
In my previous tests I even higher improvements (100×
or so) for specific cases. Unfortunately my copy-on-write
algorithm didn't actually work properly so it needed to be
rolled back. The potential is there, however.
Regards, Elias
On 28 Aug 2015 20:46, "Mike Duvos" < address@hidden>
wrote:
Hi Elias,
That's very interesting.
How fast do you think GNU APL could be made if the
gratuitous array copying were completely eliminated?
I'm guessing it's always going to be more of an
educational tool than a competitor to expensive
commercial APL systems, which special case everything by
type and rank, and do extensive idiom recognition.
Regards,
Mike
|