Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Side by Side Diff: runtime/vm/bootstrap_natives.h

Issue 42443002: Improve string library performance. String concat and indexOf. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/lib/string_patch.dart ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_BOOTSTRAP_NATIVES_H_ 5 #ifndef VM_BOOTSTRAP_NATIVES_H_
6 #define VM_BOOTSTRAP_NATIVES_H_ 6 #define VM_BOOTSTRAP_NATIVES_H_
7 7
8 #include "vm/native_entry.h" 8 #include "vm/native_entry.h"
9 9
10 // bootstrap dart natives used in the core dart library. 10 // bootstrap dart natives used in the core dart library.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 V(OneByteString_splitWithCharCode, 2) \ 94 V(OneByteString_splitWithCharCode, 2) \
95 V(OneByteString_allocate, 1) \ 95 V(OneByteString_allocate, 1) \
96 V(OneByteString_setAt, 3) \ 96 V(OneByteString_setAt, 3) \
97 V(String_getHashCode, 1) \ 97 V(String_getHashCode, 1) \
98 V(String_getLength, 1) \ 98 V(String_getLength, 1) \
99 V(String_charAt, 2) \ 99 V(String_charAt, 2) \
100 V(String_codeUnitAt, 2) \ 100 V(String_codeUnitAt, 2) \
101 V(String_concat, 2) \ 101 V(String_concat, 2) \
102 V(String_toLowerCase, 1) \ 102 V(String_toLowerCase, 1) \
103 V(String_toUpperCase, 1) \ 103 V(String_toUpperCase, 1) \
104 V(Strings_concatAll, 3) \ 104 V(String_concatRange, 3) \
105 V(Math_sqrt, 1) \ 105 V(Math_sqrt, 1) \
106 V(Math_sin, 1) \ 106 V(Math_sin, 1) \
107 V(Math_cos, 1) \ 107 V(Math_cos, 1) \
108 V(Math_tan, 1) \ 108 V(Math_tan, 1) \
109 V(Math_asin, 1) \ 109 V(Math_asin, 1) \
110 V(Math_acos, 1) \ 110 V(Math_acos, 1) \
111 V(Math_atan, 1) \ 111 V(Math_atan, 1) \
112 V(Math_atan2, 2) \ 112 V(Math_atan2, 2) \
113 V(Math_exp, 1) \ 113 V(Math_exp, 1) \
114 V(Math_log, 1) \ 114 V(Math_log, 1) \
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 static void DN_##name(Dart_NativeArguments args); 321 static void DN_##name(Dart_NativeArguments args);
322 322
323 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 323 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
324 324
325 #undef DECLARE_BOOTSTRAP_NATIVE 325 #undef DECLARE_BOOTSTRAP_NATIVE
326 }; 326 };
327 327
328 } // namespace dart 328 } // namespace dart
329 329
330 #endif // VM_BOOTSTRAP_NATIVES_H_ 330 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/string_patch.dart ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698