michie 3.0.0

An attribute macro that adds memoization to a function (sounds like Mickey)
Documentation
1
2
3
4
5
6
7
8
9
use michie::memoized;
use std::collections::HashMap;

#[memoized(key_expr = b, store_type = HashMap<bool, bool>)]
fn f(a: bool) -> bool {
    a
}

fn main() {}