File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ public:
4545      HashValue (const  char  *data, int  len);
4646      ULong64_t const  *Get () const  { return  fDigest ; }
4747
48-       // / Return the hash value for  this object 
49-       size_t  Hash () const  noexcept 
48+       // / Return the 64-bit  hash of  this 256-bit long digest/hash (4 x 64-bit) 
49+       size_t  ShortHash () const  noexcept 
5050      {
5151         std::hash<ULong64_t> hasher;
5252         return  hasher (fDigest [0 ]) ^ hasher (fDigest [1 ]) ^ hasher (fDigest [2 ]) ^ hasher (fDigest [3 ]);
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ template <>
1212struct  hash <ROOT::Internal::RConcurrentHashColl::HashValue> {
1313   std::size_t  operator ()(const  ROOT::Internal::RConcurrentHashColl::HashValue &key) const  noexcept 
1414   {
15-       return  key.Hash ();
15+       return  key.ShortHash ();
1616   }
1717};
1818} //  namespace std
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments