Eric Dong
2015-02-24 22:01:11 UTC
It seems that bit-vectors have a really weird bug, where short bit-vectors
that aren't equal will often return true when tested with equal?.
Here's a trivial example: http://pasterack.org/pastes/35137
Is this a known bug? It shouldn't be hard to fix; the equality tester just
needs to, umm, do its thing properly? The bug is very annoying and caused a
lot of headache in a certain application of mine, since the false equality
does things like breaking hashtables unexpectedly, etc.
that aren't equal will often return true when tested with equal?.
Here's a trivial example: http://pasterack.org/pastes/35137
Is this a known bug? It shouldn't be hard to fix; the equality tester just
needs to, umm, do its thing properly? The bug is very annoying and caused a
lot of headache in a certain application of mine, since the false equality
does things like breaking hashtables unexpectedly, etc.