Bug 11377 - swap(Vector, Vector) should be O(1) instead of O(n)
Summary: swap(Vector, Vector) should be O(1) instead of O(n)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P3 Enhancement
Assignee: Darin Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-21 18:41 PDT by Darin Adler
Modified: 2006-10-21 19:03 PDT (History)
1 user (show)

See Also:


Attachments
patch to specialize swap (3.24 KB, patch)
2006-10-21 18:42 PDT, Darin Adler
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2006-10-21 18:41:32 PDT
Vector needs to change so that swapping it is cheap.
Comment 1 Darin Adler 2006-10-21 18:42:50 PDT
Created attachment 11179 [details]
patch to specialize swap
Comment 2 Anders Carlsson 2006-10-21 18:45:56 PDT
Comment on attachment 11179 [details]
patch to specialize swap

r=me
Comment 3 Darin Adler 2006-10-21 19:03:29 PDT
Committed revision 17200.