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

Issue 1775683002: Make LineSplitter much faster for common case (Closed)

Created:
4 years, 9 months ago by hausner
Modified:
4 years, 9 months ago
CC:
reviews_dartlang.org, Lasse Reichstein Nielsen, Ivan Posva
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make LineSplitter much faster for common case Avoiding the sync* function in the common case makes LineSplitter 50-100 times faster. BUG= R=floitsch@google.com Committed: https://github.com/dart-lang/sdk/commit/ab7eb4301349142d8c2e946aebf1bf77904342d7

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -1 line) Patch
M sdk/lib/convert/line_splitter.dart View 1 1 chunk +23 lines, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
hausner
4 years, 9 months ago (2016-03-07 23:45:26 UTC) #3
kevmoo
So sad the existing code is so much slower. Do we know why? Is it ...
4 years, 9 months ago (2016-03-08 00:51:26 UTC) #5
Lasse Reichstein Nielsen
If the sync* code is so slow, then make it faster! Having a feature that ...
4 years, 9 months ago (2016-03-08 10:48:16 UTC) #7
floitsch
LGTM.
4 years, 9 months ago (2016-03-08 12:36:36 UTC) #8
hausner
The _LineSplitter class in Lasse's change is another option. This change duplicates a bit of ...
4 years, 9 months ago (2016-03-08 18:35:08 UTC) #9
hausner
4 years, 9 months ago (2016-03-08 18:49:36 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
ab7eb4301349142d8c2e946aebf1bf77904342d7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698