-
darin authored
- add a couple of list operations to avoid clearing lists so much during sorting; gives 1.5% iBench * kjs/types.h: Added replaceFirst/replaceLast. * kjs/types.cpp: (List::replaceFirst), (List::replaceLast): Added. * kjs/array_object.cpp: (compareWithCompareFunctionForQSort): Use replaceFirst/replaceLast. * kjs/property_map.cpp: Put in an ifdef so I can re-add/remove the single entry to see if it has outlived its usefulness. (It hasn't yet.) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f7fc08d7