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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 2 17:20:25 PDT 2010


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





--- Comment #12 from Adam Barth <abarth at webkit.org>  2010-04-02 17:20:24 PST ---
> We should find out how practical his idea is.

I can try sketching out some code for this.

> If there is already an existing String or AtomicString, the converting it to a
> KURL would presumably require copying it even if we do squirrel the URL bits
> away inside the string buffer. But generally speaking if we can make a KURL
> almost the same cost as a string then we could make our code more readable.

You can avoid the extra copy with another malloc, but that doesn't seem like a
good trade off.  Is the memory concern really with empty KURLs?  I wish there
was a good way to measure how much memory we're talking about here.

> And also, someone should take the damned "K" out ;-)

:)

-- 
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