IndexedDB: compare strings without decoding
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Sep 2011 23:44:20 +0000 (23:44 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Sep 2011 23:44:20 +0000 (23:44 +0000)
commit1291b7dac6d0c9bf7445628cfd0cb815bb512ad6
treed2a1b31a5a9bbdfd460a604f7f46da96f5eee37c
parent706f5f340dc8be249d1d989665b384a6d4507714
IndexedDB: compare strings without decoding
https://bugs.webkit.org/show_bug.cgi?id=68554

Patch by Joshua Bell <jsbell@chromium.org> on 2011-09-21
Reviewed by Tony Chang.

Resolves a FIXME in IndexedDB that was also identified as a hotspot
during profiling. Yields a small performance improvement.

* Source/WebCore/storage/IDBLevelDBCoding.cpp:
* Source/WebCore/storage/IDBLevelDBCoding.h:
* Source/WebKit/chromium/tests/IDBLevelDBCodingTest.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/WebCore/storage/IDBLevelDBCoding.cpp
Source/WebCore/storage/IDBLevelDBCoding.h
Source/WebKit/chromium/tests/IDBLevelDBCodingTest.cpp