We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found this trivial operation bloats the polkavm program size (from 470B to 4KB)
XCQ/poc/guests/query-balance-fungibles/src/main.rs
Lines 28 to 29 in 94b1c13
sum += unsafe{ core::ptr::read_volatile(res_ptr as *const u64); }
I use polkatool to disassemble the program, and found the bloating part is Code size which goes from 287bytes to 3228 bytes.
polkatool
disassemble
Code size
The text was updated successfully, but these errors were encountered:
indirection42
No branches or pull requests
I found this trivial operation bloats the polkavm program size (from 470B to 4KB)
XCQ/poc/guests/query-balance-fungibles/src/main.rs
Lines 28 to 29 in 94b1c13
compared to
I use
polkatool
todisassemble
the program, and found the bloating part isCode size
which goes from 287bytes to 3228 bytes.The text was updated successfully, but these errors were encountered: