loopy/kernel/data.py
def update_persistent_hash(self, key_hash, key_builder):
        """Custom hash computation function for use with
        :class:`pytools.persistent_dict.PersistentDict`.

        Only works in conjunction with :class:`loopy.tools.KeyBuilder`.
        """

        # Order matters for hash forming--sort the field names
        for field_name in sorted(self.fields):
            key_builder.rec(key_hash, getattr(self, field_name))
Custom hash computation function for use with
        :class:`pytools.persistent_dict.PersistentDict`.

        Only works in conjunction with :class:`loopy.tools.KeyBuilder`.
        
Custom hash computation function for use with
Custom hash computation function for use with
def update_persistent_hash(self, key_hash, key_builder):
        for field_name in sorted(self.fields):
            key_builder.rec(key_hash, getattr(self, field_name))
def update_persistent_hash ( self , key_hash , key_builder ) : for field_name in sorted ( self . fields ) : key_builder . rec ( key_hash , getattr ( self , field_name ) )
Custom hash computation function for use with
Custom hash computation function for use with
"""Custom hash computation function for use with
        :class:`pytools.persistent_dict.PersistentDict`.

        Only works in conjunction with :class:`loopy.tools.KeyBuilder`.
        """ # Order matters for hash forming--sort the field names
self
key_hash
key_builder
class
`pytools.persistent_dict.PersistentDict`.
Only works in conjunction with :class:`loopy.tools.KeyBuilder`.
` pytools . persistent_dict . PersistentDict ` . Only works in conjunction with : class : ` loopy . tools . KeyBuilder ` .