Fixed <rdar://problem/3823026> making isRoundingHackCharacter use -O3 and...
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Oct 2004 17:14:28 +0000 (17:14 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Oct 2004 17:14:28 +0000 (17:14 +0000)
commit5646e5e3a0777ca1d31698baaaa37d0ab4e06a46
tree592a923d814e2c1920d0243b1ddca3bd50bab5c6
parent669c2cb719e820657256e01f77685fb2f710bf0b
    Fixed <rdar://problem/3823026> making isRoundingHackCharacter use -O3 and an 8-bit lookup-table will speed "XBS" test up by 3% (actually < 1%)

        Careful testing shows a small performance gain on very large text files.
        I saw large variations in timings, but taking the lowest PLT timing
        with and without this change showed a 0.9% gain.  Note the cvs-base showed
        no improvement.  The improvement was for the large page attached to the
        bug.

        Reviewed by Ken.

        * WebCoreSupport.subproj/WebTextRenderer.m:
        (setupRoundingHackCharacterTable):
        (isRoundingHackCharacter):
        (+[WebTextRenderer initialize]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebCoreSupport.subproj/WebTextRenderer.m