You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how smart solc is (whether it will unroll loops if one cranks the optimization runs sufficiently high - I haven't tried it yet), but all of this could be avoided by
using the 1 << shift syntax
writing the entire thing as a loop (same with the 7x code repetition below)
The text was updated successfully, but these errors were encountered:
The hardcoded value here is wrong.
0x8 = 1<<3 but it should be 1<<2 i.e. 0x4
I'm not sure how smart solc is (whether it will unroll loops if one cranks the optimization runs sufficiently high - I haven't tried it yet), but all of this could be avoided by
The text was updated successfully, but these errors were encountered: