Replies: 6 comments
-
这个不就是 导致 空的长度相等的 buffer 都是相等的(在申请buffer时,默认填充0的) |
Beta Was this translation helpful? Give feedback.
-
@jjeejj 逻辑上并没有问题 两个认为两个长度为 0 的 ArrayBuffer 应当不等,那么是逻辑错误 |
Beta Was this translation helpful? Give feedback.
-
这是不是比较值相等呢?是否也是 https://github.com/tc39/proposal-record-tuple 要解决的问题呢? |
Beta Was this translation helpful? Give feedback.
-
@magic-akari 根本性问题是,不能改变既有的语义 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
https://github.com/NiceLabs/proposal-arraybuffer-equals
https://es.discourse.group/t/compare-two-arraybuffers-bit-wise-for-equality/413
Beta Was this translation helpful? Give feedback.
All reactions