> - We probaly should be testing speed after doing:
>
> )lisp (proclaim '(optimize (speed 3) (safety 0)))

I can't believe that this is not the default!  Adding it
to my ~/.fricas.init .

> Spad compiler normally only inlines operations
> from list of selected domains.  The list
> is kept in Boot variable '$optimizableConstructorNames'.

That's new to me.  That explains why IARRAY1 is slow.

> Resonable size is 1000-2000 which is long enough
> to ignore impact of outer loop, but fits in L1
> cache leaving a lot of space for other data.

And I redoing the benchmark using your advice,
yes, the difference is less than 1%.  So SBCL handles
this AREF optimization well.

> Maybe I was unclear: the change to OneDimensionalArrayAggregate
> predictably gives speedup (or no change in speed).

You mean IndexedOneDimensionalArray? (The ELF to QAREF1
change?)  After the patch it's still 1x faster.

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to