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

Unified Diff: sdk/lib/json/json.dart

Issue 23056002: Convert HashMap and LinkedHashMap to closed addressing hash tables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 months 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/json/json.dart
diff --git a/sdk/lib/json/json.dart b/sdk/lib/json/json.dart
index 28d3df942349a81ac3d148dc970028750ebe6c3c..bccb03faacdcbbd1019b3e3bb5d97218e4a4da9c 100644
--- a/sdk/lib/json/json.dart
+++ b/sdk/lib/json/json.dart
@@ -502,7 +502,8 @@ class JsonParser {
}
char = source.codeUnitAt(position);
if (char == QUOTE) {
- listener.handleString(source.substring(start, position));
+ String result = source.substring(start, position);
Søren Gjesse 2013/08/14 07:45:07 Why?
Lasse Reichstein Nielsen 2013/08/14 08:38:34 Needed it for debugging at some point. I saw no r
+ listener.handleString(result);
return position + 1;
}
if (char < SPACE) {

Powered by Google App Engine
This is Rietveld 408576698