12009-09-14 Shu Chang <Chang.Shu@nokia.com>
2
3 Reviewed by NOBODY (OOPS!).
4
5 Need a short description and bug URL (OOPS!)
6
7 Optimize the code so only the text from start to end is scaned.
8 https://bugs.webkit.org/show_bug.cgi?id=29092
9
10 On a platform with webkit+Qt+Symbian, the parsing time for a 600K text
11 file improved 90% and overall loading time improved 20%.
12 Ran WebKitTools/Scripts/run-webkit-tests, and no new problem was found.
13
14 * dom/Text.cpp:
15 (WebCore::Text::createWithLengthLimit):
16