CPlusPlus: Make Environment::hashCode more local.

The function call itself shows in the critical path. Let's shave
off a few cycles by making it easier inlinable.

Change-Id: I14b06de27e99fa00f3be757193f2037792b18e01
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
hjk
2013-10-05 23:51:52 +02:00
parent ffa61e4ced
commit 4258715731
2 changed files with 17 additions and 25 deletions

View File

@@ -87,8 +87,6 @@ public:
void dump() const;
private:
static unsigned hashCode(const QByteArray &s);
static unsigned hashCode(const ByteArrayRef &s);
void rehash();
public: