Go to file
verwaest@chromium.org f99dda8dab Let DescriptorArray::Append insert at proper position, avoiding need for resorting.
Using insertion-sort won't have too much of an overhead for the short arrays for bootstrapping (which are probably snapshot anyway).
CopyAppendCallbackDescriptors was extending and sorting the array in a loop. By using an append that inserts at the right position we do not need to resort in each iteration.

Additionally remove Sort and rename SortUnchecked to Sort. The IsSortedNoDuplicates check is moved into InitializeDescriptor.

Review URL: https://chromiumcodereview.appspot.com/10808011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12136 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2012-07-18 15:38:58 +00:00
benchmarks More fixes for V8 benchmark version 7. 2012-03-15 17:13:50 +00:00
build Build V8 for Android IA 2012-07-18 11:43:44 +00:00
include Implements a new API to set a function entry hook for profiling. 2012-07-17 15:18:15 +00:00
preparser Fix a bunch of implicit casts detected by the Win64 compiler 2012-06-19 13:45:30 +00:00
samples Fix compilation when disabling debugger support. 2012-07-05 16:23:14 +00:00
src Let DescriptorArray::Append insert at proper position, avoiding need for resorting. 2012-07-18 15:38:58 +00:00
test Removed CopyAppendForeignDescriptor. 2012-07-18 14:00:58 +00:00
tools Android test runner: Sync missing JS files 2012-07-18 12:40:13 +00:00
.gitignore Update .gitignore for Windows/Visual Studio/GYP. 2012-07-10 12:58:42 +00:00
AUTHORS Make android.check work 2012-07-16 16:22:28 +00:00
ChangeLog Prepare push to trunk. Now working on version 3.12.15. 2012-07-18 11:21:12 +00:00
DEPS Prepare for using GYP build on buildbots 2012-05-11 12:18:09 +00:00
LICENSE Update LICENSE file 2012-01-03 16:38:42 +00:00
LICENSE.strongtalk Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.v8 Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
LICENSE.valgrind Add LICENSE.v8, LICENSE.strongtalk and LICENSE.valgrind to the v8 2011-02-03 07:10:06 +00:00
Makefile Build V8 for Android IA 2012-07-18 11:43:44 +00:00
SConstruct Fix shared library build errors. 2012-05-18 11:15:14 +00:00