[Webkit-unassigned] [Bug 96126] Appcache fallback URL match should use the longest candidate

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 7 11:24:47 PDT 2012


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





--- Comment #10 from Alexey Proskuryakov <ap at webkit.org>  2012-09-07 11:25:02 PST ---
That's a good idea. We already use std::stable_sort in cross platform code, so it should be fine.

Effect of switching stable sort are worth testing in a regression test, too.

> Because we are going to use a function pointer, I think inline wouldn't help. And as Yong said, not sure if some compiler would complain.

std::sort does not use the function as a pointer, it uses its argument as a generic functor. You might be thinking of qsort() here.

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