@@ -89,14 +89,14 @@ For the full example see [`examples/calc.rs`][calc].
89
89
*/
90
90
91
91
mod accelerate;
92
- mod cache;
93
92
mod constraint;
94
93
mod hash;
95
94
mod input;
95
+ mod memoize;
96
96
mod track;
97
97
98
- pub use crate :: cache:: evict;
99
98
pub use crate :: hash:: Prehashed ;
99
+ pub use crate :: memoize:: evict;
100
100
pub use crate :: track:: { Track , Tracked , TrackedMut , Validate } ;
101
101
102
102
#[ cfg( feature = "macros" ) ]
@@ -107,12 +107,12 @@ pub use comemo_macros::{memoize, track};
107
107
pub mod internal {
108
108
pub use parking_lot:: RwLock ;
109
109
110
- pub use crate :: cache:: { Cache , CacheData , memoized, register_evictor} ;
111
110
pub use crate :: constraint:: { Call , ImmutableConstraint , MutableConstraint } ;
112
111
pub use crate :: hash:: hash;
113
112
pub use crate :: input:: { Input , Multi , assert_hashable_or_trackable} ;
113
+ pub use crate :: memoize:: { Cache , CacheData , memoize, register_evictor} ;
114
114
pub use crate :: track:: { Surfaces , to_parts_mut_mut, to_parts_mut_ref, to_parts_ref} ;
115
115
116
116
#[ cfg( feature = "testing" ) ]
117
- pub use crate :: cache :: last_was_hit;
117
+ pub use crate :: memoize :: last_was_hit;
118
118
}
0 commit comments