Chromium Code Reviews
DescriptionRefactoring of string literals. Implement static string addition.
QuotedString has become DartString, and it represents the actual Dart
string value (i.e., iterating over it provides character codes after
interpreting escape sequences). Quoting is now only used during parsing,
after that a DartString is just its content.
Static string addition (both as optimization and as required for
compile time constant expressions) is implemented by creating a ConsDartString
object that represents the concatenation, without flattening the string
unnecessarily.
Committed: https://code.google.com/p/dart/source/detail?r=3709
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address review comments. #
Messages
Total messages: 3 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||