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

Issue 136473003: Speed up typed *List:fromList constructor, by calling setRange. (Closed)

Created:
6 years, 11 months ago by Anders Johnsen
Modified:
6 years, 11 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Speed up typed *List:fromList constructor, by calling setRange. BUG= R=lrn@google.com, srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=31909

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -65 lines) Patch
M runtime/lib/typed_data.dart View 13 chunks +26 lines, -65 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Anders Johnsen
This is ~X4 faster when the from-list is a TypedList. However, this is ~X2 slower ...
6 years, 11 months ago (2014-01-16 13:30:44 UTC) #1
Lasse Reichstein Nielsen
LGTM if Srdjan agrees.
6 years, 11 months ago (2014-01-16 13:41:06 UTC) #2
srdjan
LGTM. I guess the reason this is faster is because a copy between two typed ...
6 years, 11 months ago (2014-01-16 17:07:28 UTC) #3
Anders Johnsen
6 years, 11 months ago (2014-01-17 08:15:45 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r31909 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698