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:
parent
b164dbc271
commit
7208bdee33
3 changed files with 6 additions and 13 deletions
|
@ -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 },
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue