def make_library_cache(prefix):
 assert (prefix not in _lib_cache_prefixes)
 _lib_cache_prefixes.add(prefix)
 class CustomCodeLibraryCacheImpl(CodeLibraryCacheImpl, ):
  _filename_prefix = prefix
 class LibraryCache(Cache, ):
  '\n        Implements Cache that saves and loads CodeLibrary objects for additional\n        feature for the specified python function.\n        '
  _impl_class = CustomCodeLibraryCacheImpl
 return LibraryCache

def make_library_cache ( prefix ) : assert ( prefix not in _lib_cache_prefixes ) _lib_cache_prefixes . add ( prefix ) class CustomCodeLibraryCacheImpl ( CodeLibraryCacheImpl , ) : _filename_prefix = prefix class LibraryCache ( Cache , ) : _impl_class = CustomCodeLibraryCacheImpl return LibraryCache
create a cache class for additional compilation features to cache their result for reuse .