1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-13 05:47:14 +00:00

Change hash implementation for pointers.

This commit is contained in:
Calvin Rose
2020-09-06 11:41:45 -05:00
parent 1a9c14acde
commit 321a758ab9
2 changed files with 4 additions and 6 deletions

View File

@@ -1877,7 +1877,7 @@
(case tx
:tuple (or (not= (length x) (length y)) (some identity (map deep-not= x y)))
:array (or (not= (length x) (length y)) (some identity (map deep-not= x y)))
:struct (deep-not= (pairs x) (pairs y))
:struct (deep-not= (kvs x) (kvs y))
:table (deep-not= (table/to-struct x) (table/to-struct y))
:buffer (not= (string x) (string y))
(not= x y))))