Rewrite identifier table
authorLars Knoll <lars.knoll@digia.com>
Thu, 27 Jun 2013 07:04:11 +0000 (09:04 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 28 Jun 2013 12:56:14 +0000 (14:56 +0200)
commitd33025fe108fb35f6e5c40b94432f8850b86d16b
treef9600c9b96ea89e48deed71b56bd270033eab026
parent53819f0ca9f2dc9e3d0c2c69f8d59b64c8e36c9c
Rewrite identifier table

Use a hand written hash table for the identifiers. This
saves quite some memory, speeds up the table, and allows
converting 8bit strings into identifiers.

Change-Id: Id289764097b50bf6c1fc83b1b8c930b5e62a7538
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/qml/v4/qv4engine.cpp
src/qml/qml/v4/qv4identifier.cpp [new file with mode: 0644]
src/qml/qml/v4/qv4identifier_p.h
src/qml/qml/v4/qv4internalclass.cpp
src/qml/qml/v4/qv4string.cpp
src/qml/qml/v4/qv4string_p.h
src/qml/qml/v4/v4.pri