Improve performance of v8 string hashes by using symbol id
authorAaron Kennedy <aaron.kennedy@nokia.com>
Fri, 1 Jul 2011 06:31:17 +0000 (16:31 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 1 Jul 2011 06:32:57 +0000 (08:32 +0200)
commit67347f700568607497b36c5d71e7eb89b35f363e
treec32f784047b4252a0d1648a3c9cdfcb976b0108b
parent628a5cd0669dbfb6a4f2b60f5b59b044f8ca2bbb
Improve performance of v8 string hashes by using symbol id

The symbol id is a unique integer associated with a string symbol in
V8.  If two symbol ids are equal, then the strings are also equal.
However, if the two symbol ids are not equal, the strings may still
be equal.

Change-Id: Ic28f51a1eba568ae4b2a054e278f6e5e454725d6
Reviewed-on: http://codereview.qt.nokia.com/990
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/declarative/qml/v8/qhashedstring_p.h