Reviewed by Trey
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Aug 2004 17:55:34 +0000 (17:55 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Aug 2004 17:55:34 +0000 (17:55 +0000)
commit713c4ff88d5358a41fcab670bf04815d1fd9d523
tree48e91058a24a453c1c39171892ea0de93769dec6
parent6e0f3e9c189c349c72e4b1a9f0e7eeda20b72c0d
    Reviewed by Trey

        Efficiency improvements on string manipulations in these two new function
        implementations. Use the versions of QString append/prepend that take
        (QChar *c, uint length) instead of creating new strings each time.

        * khtml/xml/dom_position.cpp:
        (DOM::Position::previousWordPosition): Changed, as described above.
        (DOM::Position::nextWordPosition): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7231 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/xml/dom_position.cpp