Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4714)

Issue 192130045: Extend minArgs and maxArgs methods to accept up to 15 arguments without much of a performance hit i… (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 3 months ago by jacobr
Modified:
9 years, 3 months ago
Reviewers:
sigmund
CC:
vsm, leafp_google.com, John Messerly
Base URL:
git@github.com:dart-lang/smoke.git@master
Visibility:
Public.

Description

Extend minArgs and maxArgs methods to accept up to 15 arguments without much of a performance hit if #arguments < 4 BUG= R=sigmund@google.com Committed: cdc8420684a6b21d4ed0ffa41cea16605ed0521d

Patch Set 1 #

Total comments: 9

Patch Set 2 : ptal #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -16 lines) Patch
M lib/src/common.dart View 3 chunks +53 lines, -5 lines 0 comments Download
M test/args_test.dart View 1 5 chunks +200 lines, -11 lines 0 comments Download

Messages

Total messages: 5
jacobr
obviously the tests could be rewritten to verify the # or arguments using mirros but ...
9 years, 3 months ago (2015-01-14 19:58:43 UTC) #1
sigmund
true - I agree this is good enough :) https://codereview.appspot.com/192130045/diff/1/lib/src/common.dart File lib/src/common.dart (right): https://codereview.appspot.com/192130045/diff/1/lib/src/common.dart#newcode101 lib/src/common.dart:101: ...
9 years, 3 months ago (2015-01-14 20:19:30 UTC) #2
jacobr
https://codereview.appspot.com/192130045/diff/1/lib/src/common.dart File lib/src/common.dart (right): https://codereview.appspot.com/192130045/diff/1/lib/src/common.dart#newcode101 lib/src/common.dart:101: if (f is! _Func2) { On 2015/01/14 20:19:30, sigmund ...
9 years, 3 months ago (2015-01-14 21:11:04 UTC) #3
sigmund
lgtm https://codereview.appspot.com/192130045/diff/1/test/args_test.dart File test/args_test.dart (right): https://codereview.appspot.com/192130045/diff/1/test/args_test.dart#newcode192 test/args_test.dart:192: t22(o1, o2, o3, o4, o5, o6) {} On ...
9 years, 3 months ago (2015-01-15 02:57:53 UTC) #4
jacobr
9 years, 3 months ago (2015-01-15 17:58:59 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
cdc8420684a6b21d4ed0ffa41cea16605ed0521d (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b