[Webkit-unassigned] [Bug 20054] Showing large plain-text files is extremely slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 16 07:50:06 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20054





------- Comment #1 from ben at meyerhome.net  2008-07-16 07:50 PDT -------
I started hacking around and made a branch that passes all of the tests and
re-uses the iterator when possible, but it is a bit of a hack and when you
enable the other iterator caches there are three failures which doesn't make
any sense...  And it can still crash an iterator is created, the string is
deleted a new string is created at the same location in memory, but with a
different lenght and a new iterator is created with it.  We should just see
about re-using the same iterator upstream.

Branch:
http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=shortlog;h=bmeyer/fasttext

Diff:
http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=blobdiff;f=WebCore/platform/qt/TextBreakIteratorQt.cpp;h=94aafdba5e8fd2e261caa4b446756112e1a3c2c6;hp=88b96808650ed290ea328208157d2f965089d39e;hb=95c45c80fc64841cfc262facaba34750b9ca5138;hpb=af6eca2c5a5ec7e5a462ad211f8f1e3cb9bdef86


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list