Remove cache_on_disk from QueryVTable
This is not only simpler, but removes a generic function and unwrap. I have hope it will see compile time and bootstrap time improvements.
This commit is contained in:
@@ -442,8 +442,7 @@ macro_rules! define_queries {
|
||||
hash_result: hash_result!([$($modifiers)*]),
|
||||
handle_cycle_error: handle_cycle_error!([$($modifiers)*]),
|
||||
compute,
|
||||
cache_on_disk,
|
||||
try_load_from_disk: Self::TRY_LOAD_FROM_DISK,
|
||||
try_load_from_disk: if cache_on_disk { Self::TRY_LOAD_FROM_DISK } else { None },
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user