Skip to content
New issue

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

Why code size is that much bigger then we get in funC implementation? #1

Open
Shvandre opened this issue Nov 22, 2024 · 3 comments
Open
Labels
documentation Improvements or additions to documentation

Comments

@Shvandre
Copy link
Collaborator

Shvandre commented Nov 22, 2024

And why tact compiler outputs BOC with identical cells? And does it affects something? In funC implementation there is no such behaviour

@Shvandre
Copy link
Collaborator Author

Shvandre commented Nov 30, 2024

Statistics of Jetton wallet size with different optimizations

Bits Ratio Tact/FunC: bits Cells Ratio Tact/FunC: cells
FunC 6078 1x 18 1x
Tact (base) 15855 2.61x 34 1.89x
Tact (no interface) 14231 2.34x 32 1.78x
Tact (no interface + manual inline/inline_ref stdlib optimisation) 9487 1.56x 38 2.11x

@Gusarich
Copy link
Member

Gusarich commented Dec 6, 2024

I believe this is related to tact-lang/tact#1012

@Shvandre
Copy link
Collaborator Author

Shvandre commented Dec 6, 2024

I believe this is related to tact-lang/tact#1012

I was comparing only code size, and storing code instead of using MYCODE should not really affect that.

@Shvandre Shvandre added the documentation Improvements or additions to documentation label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants