quantlab.factor.kunquant_compile.graph_key#

quantlab.factor.kunquant_compile.graph_key(graphs, libname, compiler)[source]#

Return the hex digest a library of graphs is cached under.

Two calls give the same key exactly when the same C++ would be compiled the same way; see the module docstring for what the key covers.

Examples

>>> len(graph_key(graphs, "Double", cfake.CppCompilerConfig()))
64