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

Issue 8769039: Fix performance of readLine (Closed)

Created:
9 years ago by Søren Gjesse
Modified:
9 years ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix performance of readLine Using getRange to chop off the front of the list of char codes for each line read was to slow. Use an offset into the list instead and throw away the list when all char codes have been read. R=ager@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=2023

Patch Set 1 #

Patch Set 2 : Removed code in commetns #

Patch Set 3 : Fixed long line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -12 lines) Patch
M runtime/bin/string_stream.dart View 1 2 4 chunks +26 lines, -12 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Søren Gjesse
9 years ago (2011-12-02 14:29:44 UTC) #1
Mads Ager (google)
9 years ago (2011-12-02 14:37:13 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698