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

(2.0) Trick to convert constants to functions with asm and back #103

Open
MicroNovaX opened this issue Aug 6, 2023 · 6 comments
Open

(2.0) Trick to convert constants to functions with asm and back #103

MicroNovaX opened this issue Aug 6, 2023 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@MicroNovaX
Copy link

MicroNovaX commented Aug 6, 2023

I propose to add an IntelIJ trick that allows you to convert strings such as
const int i = 1; to such (int) i() asm "PUSHINT 1" and vice versa.
This will help to refactor the code more conveniently and make it more gas-efficient.

@andreypfau andreypfau added this to the 2.0 Release milestone Aug 7, 2023
@andreypfau andreypfau added enhancement New feature or request good first issue Good for newcomers labels Aug 7, 2023
@andreypfau andreypfau moved this to Todo in IntelliJ-TON 2.0 Aug 7, 2023
@Savioure
Copy link

Good

1 similar comment
@petvaizAkhtar
Copy link

Good

@Elgayar777
Copy link

Cool

@MORTEZAMIRSALI
Copy link

**1726104421561.png

**

@Marazali75

This comment was marked as spam.

@Milad335t
Copy link

I propose to add an IntelIJ trick that allows you to convert strings such as
const int i = 1; to such (int) i() asm "PUSHINT 1" and vice versa.
This will help to refactor the code more conveniently and make it more gas-efficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Todo
Development

No branches or pull requests

11 participants