diff options
author | Gav Wood <i@gavwood.com> | 2014-01-10 19:29:43 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-01-10 19:29:43 +0800 |
commit | b883475b6c5188a0de4600a8365055c2a763806e (patch) | |
tree | a7f0a5a8054d6c8891f2a98daa9698e8e3a05f7d | |
parent | f70eec31a990b4eb3f1105a0dab8e45f54df42b7 (diff) | |
download | dexon-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.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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. |