Descriptiondart2js: Use 'new Array' instead of 'Array' in the JS output.
Though the spec says that they are equivalent when called, they are not
optimized equivalently by V8. This might be considered a performance bug in
V8 (https://code.google.com/p/v8/issues/detail?id=4380) but we should use
the much faster one unless that issue is fixed.
BUG=
R=asgerf@google.com, floitsch@google.com
Committed: https://github.com/dart-lang/sdk/commit/aa9e569ecf2d561a26dec69a0fe2af772896f228
Patch Set 1 #Patch Set 2 : Merge in tip of tree. #
Messages
Total messages: 6 (1 generated)
|