[Ecls-list] Note checking types of arguments?
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Sun Aug 29 20:01:27 UTC 2010
On Sun, Aug 29, 2010 at 8:55 PM, Pascal J. Bourguignon <
pjb at informatimago.com> wrote:
>
> ;;; In function MAKE-KEYWORD, checking types of arguments SYM.
> What does this note mean?
>
That means a possibly expensive type check for SYM was inserted at the
beginning of the function. In this case it is possibly ensuring that SYM has
the right type for STRING
> I hope that in addition to checking the types of the arguments, it
> also generates the code to do the required computations... ;-)
>
Sure :-) I thought the warning is important because of the expensiveness of
the checks, which may slow down critical functions.
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100829/a9a10b2a/attachment.html>
More information about the ecl-devel
mailing list