[alexandria-devel] Re: length=1
Nikodemus Siivola
nikodemus at random-state.net
Sat Mar 1 12:28:25 UTC 2008
On 3/1/08, Attila Lendvai <attila.lendvai at gmail.com> wrote:
> > Exporting LENGTH=1 and LENGTH=2 may be debateable, the only use case is
> > the one Andreas Fuchs mentioned, i.e. as arguments to FIND-IF &c.
>
>
> i've got this recorded and ready to be pushed. unless soemone has
> additional comments, i'll push it eventually.
Looks good to me.
Only one comment re the ETYPECASES: I don't think it makes much sense
to have a separate dispatch for SIMPLE-VECTOR cases when all we do is
call LENGTH. Most implementations are going to emit identical code for
(length (the vector x)) and
(lenght (the simple-vector) x).
Cheers,
-- Nikodemus
More information about the alexandria-devel
mailing list