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
The total size of former is 68K , the later is 26K. And in this 26K sized elf file there are about 13K .txt data which is not comes from process_instruction. I checked the default compiler flags set by cargo-build-sbf is -C opt 3 which means speed first.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
After my test this code snippet
occupies 44K while if changed into this
it takes < 4K.The total deploy fees can reduce from 0.58 sol to 0.19 sol. The sbf compiler is
The total size of former is 68K , the later is 26K. And in this 26K sized elf file there are about 13K .txt data which is not comes from process_instruction. I checked the default compiler flags set by cargo-build-sbf is -C opt 3 which means speed first.
Beta Was this translation helpful? Give feedback.
All reactions