#cache #persistent #memoization #hpc #science

nightly macro persistentcache_procmacro

Procedural macro for persistently caching functions (dependency of persistentcache crate)

3 releases

Uses old Rust 2015

0.0.3 Jun 2, 2018
0.0.2 Mar 17, 2018
0.0.1 Mar 17, 2018

#50 in #memoization


Used in persistentcache

MIT/Apache

8KB
110 lines

Build Status

persistentcache_procmacro

Procedural macro for persistentcache crate. See documentation.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

Procedural macro to persistently cache functions.

See the documentation of persistentcache for details.

I would not have managed to write this code without the ideas that I shamelessly stole from accel.

Dependencies

~1.5MB
~34K SLoC