Hello,

Hashing two different f32vectors returns the same value:

```
(equal? (hash (f32vector 1) most-positive-fixnum)
        (hash (f32vector 2) most-positive-fixnum))
; => #t
```


This is wrong since these vectors are not equal?:

```
(equal? (f32vector 1)
        (f32vector 2))
; => #f
```

This has been tester on Guile v3.0.10-1.402e0df (guile-next install
using Guix) and on Guile v3.0.9 (guile install using Guix) on a Debian
Linux.

The same behavior can be observed using f64vectors.

This is in my opinion quite a serious bug since it degrades performance
of hash tables to linear time (measuring my program performances led me
to it) making them unusable (at least not directly usable) for such
types.

Best regards and thanks for your work,
--
Théophile BRÉZOT

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to