• Olivier Delalleau's avatar
    Cache optimization: modules are not duplicated anymore in the cache · d24ce080
    Olivier Delalleau 提交于
    The idea is that even when the key changes, the resulting code and compiled
    module can remain the same. We avoid this by keeping a hash of the C code (as
    well as of the compilation options) and when this hash matches that of an
    existing module, we re-use this module instead of having two different modules
    doing the same thing.
    
    Two improvements should be made to the current implementation:
        1. Currently a module is still compiled before we detect that it is
           duplicated, while we should avoid this compilation step.
        2. It may be the case that different code or compilation options actually
           lead to the exact same compiled module. It would be nice to be able to
           detect this situation as well.
    d24ce080
名称
最后提交
最后更新
..
compile 正在载入提交数据...
gof 正在载入提交数据...
misc 正在载入提交数据...
sandbox 正在载入提交数据...
scalar 正在载入提交数据...
scan_module 正在载入提交数据...
sparse 正在载入提交数据...
tensor 正在载入提交数据...
tests 正在载入提交数据...
__init__.py 正在载入提交数据...
configdefaults.py 正在载入提交数据...
configparser.py 正在载入提交数据...
gradient.py 正在载入提交数据...
printing.py 正在载入提交数据...
raise_op.py 正在载入提交数据...