diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-28 22:29:35 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-07-28 22:29:35 +0200 |
commit | a24bf3db83d81d7d7677a1f0f750f208d32998a8 (patch) | |
tree | 0d3fa9da24d706c2e6b03e8bf0fd74a434ae871f /common/storage/key.h | |
parent | 683ee2ec1d198a9f19572e42d78fa0b9939d7f10 (diff) | |
download | sink-a24bf3db83d81d7d7677a1f0f750f208d32998a8.tar.gz sink-a24bf3db83d81d7d7677a1f0f750f208d32998a8.zip |
Avoid unnecessary Identifier conversions in performance ciritical code.
This fixes the performance regressions to a state where we are roughly
at the same performance as pre Identifier (but not any better either).
Diffstat (limited to 'common/storage/key.h')
-rw-r--r-- | common/storage/key.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/storage/key.h b/common/storage/key.h index 211aea7..baabe38 100644 --- a/common/storage/key.h +++ b/common/storage/key.h | |||
@@ -119,6 +119,8 @@ private: | |||
119 | Revision rev; | 119 | Revision rev; |
120 | }; | 120 | }; |
121 | 121 | ||
122 | SINK_EXPORT uint qHash(const Sink::Storage::Identifier &); | ||
123 | |||
122 | } // namespace Storage | 124 | } // namespace Storage |
123 | } // namespace Sink | 125 | } // namespace Sink |
124 | 126 | ||