[Webkit-unassigned] [Bug 36794] Teach RedirectScheduler about URLString

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 29 23:56:45 PDT 2010


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





--- Comment #7 from Darin Fisher (:fishd, Google) <fishd at chromium.org>  2010-03-29 23:56:44 PST ---
What is the advantage of adding another string type over simply using KURL in
more places?

If we are concerned about the footprint of a KURL, then perhaps we could
optimize it.  I can imagine it being nearly as cheap as a String object.  We
could leverage the work that was done to allocate StringImpl with the UChar
array, to allow us to store the additional indices held by a KURL object inline
with the URL characters.  This way, we achieve a small footprint for a KURL
object, and avoid having to re-parse and re-canonicalize URL strings.  We can
have a simple rule that encourages use of KURL everywhere we reference absolute
URLs.

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



More information about the webkit-unassigned mailing list