15:02 | <Aapo Alasuutari> | Regarding https://tc39.es/ecma262/#sec-hostgrowsharedarraybuffer and equality definition of Data Blocks:
What is the intention vis a vis empty DataBlocks? Their sets of locations are equal (no locations), and likewise the intersection of their sets of locations is empty. The first sentence quite clearly states that they should be equal to one another, while the second sentence kind of implies that maybe they should not be. |
15:04 | <Andreu Botella> | I suspect this means that two data blocks can either refer to the exact memory locations, or they must be disjoint |
15:05 | <Andreu Botella> | they shouldn't partially overlap |
15:25 | <Richard Gibson> | I agree. Note also that the immutable ArrayBuffer is already restricting that check to Shared Data Blocks: https://tc39.es/proposal-immutable-arraybuffer/ An empty Shared Data Block should not be equal to any other Shared Data Block, and given the basis for equality testing, would not even be equal to itself (which awkwardly breaks reflexivity but is not actually problematic AFAICT). I guess the text could be something like
|