Summary: | TextIterator takes O(n^2) to iterate over n empty blocks | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | mitz | ||||
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | enrica, mifenton, webkit.review.bot | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
mitz
2012-08-19 10:35:15 PDT
Created attachment 159299 [details]
Improve shouldRepresentNodeOffsetZero()’s check for nodes that cannot contain a VisiblePosition
Comment on attachment 159299 [details]
Improve shouldRepresentNodeOffsetZero()’s check for nodes that cannot contain a VisiblePosition
Looks good. Is this a case where making a performance test that can detect n vs n^2 would be a good idea?
Fixed in <http://trac.webkit.org/r126164>. |