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

Issue 11299005: Avoid repeated lower-casing of the same string when adding HTTP (Closed)

Created:
8 years, 1 month ago by Mads Ager (google)
Modified:
8 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Avoid repeated lower-casing of the same string when adding HTTP headers. R=sgjesse@google.com,ajohnsen@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=14956

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M sdk/lib/io/http_impl.dart View 5 chunks +7 lines, -6 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
Mads Ager (google)
8 years, 1 month ago (2012-11-15 12:13:49 UTC) #1
Anders Johnsen
LGTM!
8 years, 1 month ago (2012-11-15 12:17:45 UTC) #2
Søren Gjesse
8 years, 1 month ago (2012-11-15 12:24:11 UTC) #3
lgtm

https://codereview.chromium.org/11299005/diff/1/sdk/lib/io/http_impl.dart
File sdk/lib/io/http_impl.dart (right):

https://codereview.chromium.org/11299005/diff/1/sdk/lib/io/http_impl.dart#new...
sdk/lib/io/http_impl.dart:207: name = lowerCaseName;
This line is not needed. Just use lowerCaseName two times below.

Powered by Google App Engine
This is Rietveld 408576698