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
Output created by: for i in [0-9]*; do cd $i; bin=$(grep name Cargo.toml | cut -f2 -d'"'); cargo size --target $target --bin $bin --release | tail -1 >> ../size_z.txt ;cd ..; done
I'd create a pull request, but thought I'd first ask what are your views on this.
The text was updated successfully, but these errors were encountered:
I was looking at led-roulette disassembly and something looked a bit off. A loop going through 8 LEDs was unrolled.
In my experience, it's normally size that developers care about and compare, so we might not want to look bad in that respect.
Changing
opt-level
tos
orz
, reduces the sizes of binaries by about 1kB:As is:
opt-level = "s"
:opt-level = "z"
:Output created by:
for i in [0-9]*; do cd $i; bin=$(grep name Cargo.toml | cut -f2 -d'"'); cargo size --target $target --bin $bin --release | tail -1 >> ../size_z.txt ;cd ..; done
I'd create a pull request, but thought I'd first ask what are your views on this.
The text was updated successfully, but these errors were encountered: