Skip to content

v0.8.4

Latest

Choose a tag to compare

@jcmgray jcmgray released this 18 Nov 21:29

Bug fixes

  • DiskDict can now be shared between processes safely: writes are atomic, and unreadable entries are treated as missing with a warning (#89). The max_retries and retry_delay arguments have been removed.
  • ReusableOptimizer no longer raises KeyError when its disk cache is corrupt or changed by another process, and instead recomputes the entry (#89).
  • ReusableOptimizer with overwrite="improved", and update_from_tree, no longer replace a better path written to a shared disk cache by another process (#89).
  • ReusableHyperCompressedOptimizer now returns cached trees with the correct chi, rather than falling back to the automatic default.

PRs

  • DiskDict: atomic writes and one-shot reads; ReusableOptimizer race fix (#89) by @atpneonex in #90
  • ReusableOptimizer: don't overwrite better paths from other processes by @jcmgray in #92

New Contributors

Full Changelog: v0.8.3...v0.8.4