Reviewed by/co-written by Darin.
authortomernic <tomernic@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 May 2006 03:00:34 +0000 (03:00 +0000)
committertomernic <tomernic@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 May 2006 03:00:34 +0000 (03:00 +0000)
commit6a1f03a7f9913e2d40e6b1c42c59d11d4f955a6f
treec0c0409adc2ca1659a45384230f7d7ab78f3827b
parent7c537efc9e4a193370b7e690511d9d5ffcb7ed57
    Reviewed by/co-written by Darin.

        Performance improvement when drawing large numbers of animated images.

        Instead of removing the "first" object from a set on each next(),
        copy the clients into a vector once and keep track of the current index.

        * loader/CachedObjectClientWalker.h:
        * loader/CachedObjectClientWalker.cpp:
        (WebCore::CachedObjectClientWalker::CachedObjectClientWalker):
        (WebCore::CachedObjectClientWalker::next):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/loader/CachedObjectClientWalker.cpp
WebCore/loader/CachedObjectClientWalker.h