[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07 May 2001 00:19:34 +0200
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102
Chris Cramer <address@hidden> writes:
> guile> (array-equal? (make-uniform-array 'a 1) (make-uniform-array 'a 1))
> <unnamed port>:2:1: In procedure uniform-vector-length in expression
> (array-equal? (make-uniform-array # 1) (make-uniform-array # 1)):
> <unnamed port>:2:1: Wrong type argument in position 1: #1(0)
> ABORT: (wrong-type-arg)
guile> (array-equal? (make-uniform-array 'a 1) (make-uniform-array 'a 1))
2001-05-07 Marius Vollmer <address@hidden>
* ramap.c (raeql_1): Do not call scm_uniform_vector_length on
arrays. The length of array is already determined differently and
scm_uniform_vector_length does not work on arrays.
> I tried looking at scm_array_equal_p(), but it uh.. is hard to understand.
> It looks way more complicated than it should be. Is there any particular
> reason for that?
Efficiency? I don't know. It's certainly a lot of hairy code. Let's
not touch it ever again.
- Re: array-equal?, Masao Uebayashi, 2001/05/03
- Re: array-equal?,
Marius Vollmer <=