Comparison of multidimensional associative arrays
    Ali Çehreli 
    acehreli at yahoo.com
       
    Wed Feb  8 18:08:40 UTC 2023
    
    
  
On 2/8/23 09:55, Alexander Zhirov wrote:
 > the differences
Is it considered a difference if a key exists but the value is 
different? Or is that an error case if you encounter that?
 > return them when comparing:
The representation seems difficult as well. When given this:
 >      6:["id":"6", "deleted":"f", "name":"6.2_test"],
and that:
 >      6:["id":"6", "deleted":"f" ],
Should the difference be
   6:["name":"6.2_test"] ?
And how to represent "missing from inner AA"?
Just because this sounds complicated, I hope the data structure can be 
designed differently to be more friendly to this operation. (?)
Ali
    
    
More information about the Digitalmars-d-learn
mailing list