summaryrefslogtreecommitdiffstats
path: root/base/bind_internal.h.pump
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-23 21:03:03 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-23 21:03:03 +0000
commit74141d650ff040128a5e35ba8f721d96b08843a3 (patch)
treef7ed5d4de304c8ea938a971b143caf5f99918af0 /base/bind_internal.h.pump
parent888fecc63c1020cbc3564e3b9308bc721d842149 (diff)
downloadchromium_src-74141d650ff040128a5e35ba8f721d96b08843a3.zip
chromium_src-74141d650ff040128a5e35ba8f721d96b08843a3.tar.gz
chromium_src-74141d650ff040128a5e35ba8f721d96b08843a3.tar.bz2
Increase Bind/Callback Arity from 6 -> 11: These go to eleven.
This is only for a build time stress test only. I will revert back to 6 after getting the data. 11 allows for binding of 11 arguments to a function, and 10 arguments to a method. 10 seemed like a nice round number to try (MSVC's tr1::bind() only supports 10). Template Growth rate (n == arity): bind.h: n bind_internal.h: (n^2 + 20n)/2 bind_internal_win.h: n callback.h: n Template growth equation: (n^2 + 26n) / 2 Template growth: 96 -> 203 types BUG=98542 TEST=try bots. Then we get to watch the bot cycle times. Review URL: http://codereview.chromium.org/8682015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/bind_internal.h.pump')
-rw-r--r--base/bind_internal.h.pump2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/bind_internal.h.pump b/base/bind_internal.h.pump
index 1192974..0459897 100644
--- a/base/bind_internal.h.pump
+++ b/base/bind_internal.h.pump
@@ -11,7 +11,7 @@ $$
//
// Do we want to allow creating a fully unbound method??
-$var MAX_ARITY = 6
+$var MAX_ARITY = 11
$range ARITY 0..MAX_ARITY
// Copyright (c) 2011 The Chromium Authors. All rights reserved.