[Maxima] suggestion: remove mbox from maxima; minor bug revealed.
raymond.toy at ericsson.com
Wed Aug 9 14:26:18 CDT 2006
>>>>> "Stavros" == Stavros Macrakis <macrakis at gmail.com> writes:
Stavros> "much faster"? Not with a half-decent compiler, which translates short
Stavros> memq's to multiple eq's. On the PDP-10 compiler, (memq ... '(a b)) took
Stavros> only two more machine instructions than (eq ... 'a). But then, maybe modern
Stavros> compilers aren't as good.
MEMQ isn't standard so Maxima has it's own version of MEMQ: (member x
list :test #'eq), and it's a not an inline function, so it would be
But CMUCL (and maybe SBCL) can convert MEMQ to an inlined equivalent.
More information about the Maxima