Skip to content

Commit

Permalink
bench: Add a notable change for binary size
Browse files Browse the repository at this point in the history
  • Loading branch information
acheroncrypto committed Nov 1, 2024
1 parent 2ae55d1 commit 4487d79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bench/BINARY_SIZE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Solana version: 2.1.0
### Notable changes

- lang: Use closures for `init` constraints to reduce the stack usage of `try_accounts`. Note that the binary size increase is exaggerated for the bench program because it uses unusual number of `init` constraints. Impact for normal programs will be a lot less severe. ([#2939](https://github.com/coral-xyz/anchor/pull/2939)).
- Upgrade to Solana `2.1.0`. This upgrade decreased the binary size ~5% (55,000 bytes) ([#3339](https://github.com/coral-xyz/anchor/pull/3339)).

---

Expand Down

0 comments on commit 4487d79

Please sign in to comment.