Bug 11377

Summary: swap(Vector, Vector) should be O(1) instead of O(n)
Product: WebKit Reporter: Darin Adler <darin>
Component: Web Template FrameworkAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Enhancement CC: mjs
Priority: P3    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch to specialize swap andersca: review+

Darin Adler
Reported 2006-10-21 18:41:32 PDT
Vector needs to change so that swapping it is cheap.
Attachments
patch to specialize swap (3.24 KB, patch)
2006-10-21 18:42 PDT, Darin Adler
andersca: review+
Darin Adler
Comment 1 2006-10-21 18:42:50 PDT
Created attachment 11179 [details] patch to specialize swap
Anders Carlsson
Comment 2 2006-10-21 18:45:56 PDT
Comment on attachment 11179 [details] patch to specialize swap r=me
Darin Adler
Comment 3 2006-10-21 19:03:29 PDT
Committed revision 17200.
Note You need to log in before you can comment on or make changes to this bug.