- Sep 23, 2017
-
-
Matt Wala authored
-
Matt Wala authored
-
Matt Wala authored
Conflicts: test/test_persistent_dict.py
-
Matt Wala authored
Major changes to PersistentDict: * Uses a per-file lock instead of a per-container-dir lock. * Removed info files from store(). * Checks for cache collision on delete. * Added more tests. This change also implements WriteOncePersistentDict, which has a write-once policy. WriteOncePersistentDict uses a writer lock but allows for unlocked reads, which makes reads from disk faster. It also uses an in-memory LRU cache to speed up accesses.
-
Matt Wala authored
-
Matt Wala authored
-
- Sep 20, 2017
-
-
Matt Wala authored
-
- Sep 19, 2017
-
-
Matt Wala authored
the version read is for backwards compatibility.
-
Matt Wala authored
-
Matt Wala authored
This adds an optional in-memory LRU cache. To use the cache, you supply a *in_mem_cache_size* parameter to the PersistentDict. In order to properly support cache invalidation this also implements version tracking of files. This change is backwards compatible with existing persistent dict caches.
-
- Jul 20, 2017
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
- Jun 14, 2017
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
- Jun 03, 2017
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
Nested saved persistent hashes See merge request !3
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
- Jun 02, 2017
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
- May 25, 2017
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
Andreas Klöckner authored
UniqueNameGenerator: Add a _name_added() callback. See merge request !2
-
- May 20, 2017
-
-
Matt Wala authored
-
- Feb 03, 2017
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
- Jan 30, 2017
-
-
Andreas Klöckner authored
-
- Dec 06, 2016
-
-
Andreas Klöckner authored
Prep for Flake8 during CI See merge request !1
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-
- Nov 29, 2016
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
[bugfix] Use base classes for ImmutableRecord in correct order
-
Dominic Kempf authored
A very weird bug: The order of base classes actually matters here, because if __hash__ and __eq__ are defined in the wrong order, __hash__ will get deleted (in 3). MWE: ``` class X(object): def __eq__(self, other): return True class Y(object): def __hash__(self): return 0 class Z1(Y,X): pass class Z2(X,Y): pass hash(Z1()) hash(Z2()) ```
-
- Nov 28, 2016
-
-
Andreas Klöckner authored
-
Andreas Klöckner authored
-