Did you know ... | Search Documentation: |
Packs (add-ons) for SWI-Prolog |
Title: | Persistent answer cache |
---|---|
Rating: | Not rated. Create the first rating! |
Latest version: | 0.1.0 |
SHA1 sum: | 2342368f15adf2e86b1a80f6b9ac6c83f4309894 |
Author: | Jan Wielemaker <jan@swi-prolog.org> |
Home page: | https://github.com/JanWielemaker/pcache |
Download URL: | https://github.com/JanWielemaker/pcache/releases/*.zip |
Requires: | rocksdb |
prolog>=7.5.14 |
No reviews. Create the first review!.
Version | SHA1 | #Downloads | URL |
---|---|---|---|
0.1.0 | 2342368f15adf2e86b1a80f6b9ac6c83f4309894 | 18 | https://github.com/JanWielemaker/pcache/archive/V0.1.0.zip |
This repo defines a SWI-Prolog library cache_rocks
, which uses a
RocksDB interface to provide persistent caching of answers. The answers
are associated with a deep hash of the involved predicates, which
means that they are invalidated when one of the predicates that are
reachable from the call tree starting with the predicate associated with
the goal changes.
Experimental.
?- pack_install(rocksdb).
Note that this requires rocksdb installed on your system.
Pack contains 6 files holding a total of 28.8K bytes.