diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-06-04 11:04:55 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-06-04 11:04:55 +0000 |
commit | 934a08b254e99acb3fce4282170b612ee2cf286e (patch) | |
tree | c1d56fb2e4eadf139bebf8ffa1699ea1d72f65c4 /empty.cpp | |
parent | 24a3487c20c02b450b9934f6d48431ec407678d5 (diff) |
Creating the document metastore read guard is expensive and is not necessary to do for every imported attribute.
We do it once per metastore and cache it in the ImportedAttributeContext.
It would be even better if we could drop support for the default makeReadGuard(bool).
Then we would also avoid copying the shared_ptr.
Diffstat (limited to 'empty.cpp')
0 files changed, 0 insertions, 0 deletions