On 8 October 2017 at 20:39, oldk1331 <[email protected]> wrote:
> On Mon, Oct 9, 2017 at 4:09 AM, Ralf Hemmecke <[email protected]> wrote:
>>
>> Relying on lisp as the target language is not a good idea. I'd rather
>> like to be independent of such implementation details.
>>
>
> First, "Reference" is not inlined optimized.  Second, Maybe is a low level
> Domain, and I need optimization like CONSP$Lisp, QCAR$Lisp.
>

My benchmarking shows the Lisp macros QCAR and CONSP are no 'faster'
than calling 'first' and 'not empty?' from the List domain. Perhaps
this is due to some internal optimizations in SPAD and/or SBCL?  I
think it is best to avoid explicit Lisp dependencies if possible.  Is
your experience different?

Bill Page.

-- 
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