[Ecls-list] How to optimize compiler's output?

Stelian Ionescu sionescu at common-lisp.net
Thu Mar 6 23:01:30 UTC 2008


On Fri, Mar 07, 2008 at 07:41:50AM +0900, mokehehe at gmail.com wrote:
>Hello, I read new manual,
>
>| 4.4. Use of Declarations to Improve Efficiency
>| http://ecls.sourceforge.net/new-manual/ch23s04.html
>
>I tried it, but it lack right paren? I put it after 'proclaim'.
>
>> (eval-when (compile)
>>   (proclaim '(function tak (fixnum fixnum fixnum) fixnum)))

I'm unsure that this is legal CommonLisp

[cut]

try (declaim (ftype (function (fixnum fixnum fixnum) fixnum) tak))

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20080307/452b7970/attachment.sig>


More information about the ecl-devel mailing list