aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-01-10 19:29:43 +0800
committerGav Wood <i@gavwood.com>2014-01-10 19:29:43 +0800
commitb883475b6c5188a0de4600a8365055c2a763806e (patch)
treea7f0a5a8054d6c8891f2a98daa9698e8e3a05f7d
parentf70eec31a990b4eb3f1105a0dab8e45f54df42b7 (diff)
downloaddexon-solidity-b883475b6c5188a0de4600a8365055c2a763806e.tar
dexon-solidity-b883475b6c5188a0de4600a8365055c2a763806e.tar.gz
dexon-solidity-b883475b6c5188a0de4600a8365055c2a763806e.tar.bz2
dexon-solidity-b883475b6c5188a0de4600a8365055c2a763806e.tar.lz
dexon-solidity-b883475b6c5188a0de4600a8365055c2a763806e.tar.xz
dexon-solidity-b883475b6c5188a0de4600a8365055c2a763806e.tar.zst
dexon-solidity-b883475b6c5188a0de4600a8365055c2a763806e.zip
Dagger impl fixes.
-rw-r--r--main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 100b9e6d..ecf3645c 100644
--- a/main.cpp
+++ b/main.cpp
@@ -42,6 +42,16 @@ int main()
auto s = steady_clock::now();
cout << hex << d.eval(0);
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
+ cout << hex << d.eval(1);
+ cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
+ }
+ {
+ Dagger d(1);
+ auto s = steady_clock::now();
+ cout << hex << d.eval(0);
+ cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
+ cout << hex << d.eval(1);
+ cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
}
/*
// Test transaction.