[Openmcl-devel] declare in a loop
stassats at gmail.com
Fri Jun 5 08:07:02 PDT 2009
slepstein at mindspring.com writes:
> It seems to me that the ability to declare the type of local variables within a loop might result in faster compiled code. For example, if one iterated through a list of objects as in
> (for i in whatever…)
> it would be nice to know what the type of i is.
> Is there syntax for this or a good reason not to have it?
(loop for i fixnum in list) or (loop for i of-type (unsigned-byte 64) in
list) for compound type specifiers.
With best regards, Stas.
More information about the Openmcl-devel