1
Fork 0

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:
Joshua Nelson 2022-09-01 22:26:03 -05:00
parent b164dbc271
commit 7208bdee33
3 changed files with 6 additions and 13 deletions

View file

@ -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 },
}
}