mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Dagger impl fixes.
This commit is contained in:
parent
f70eec31a9
commit
b883475b6c
10
main.cpp
10
main.cpp
@ -42,6 +42,16 @@ int main()
|
|||||||
auto s = steady_clock::now();
|
auto s = steady_clock::now();
|
||||||
cout << hex << d.eval(0);
|
cout << hex << d.eval(0);
|
||||||
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
|
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.
|
// Test transaction.
|
||||||
|
Loading…
Reference in New Issue
Block a user