1. 20 5月, 2011 2 次提交
    • 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
    • Olivier Delalleau's avatar
      Added new convenience function hash_from_file · a1d395b1
      Olivier Delalleau 提交于
      a1d395b1
  2. 19 5月, 2011 12 次提交
  3. 18 5月, 2011 15 次提交
  4. 17 5月, 2011 11 次提交