Skip to content

Commit

Permalink
optimize literal math operations
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Oct 6, 2023
1 parent 1e16082 commit a820742
Show file tree
Hide file tree
Showing 82 changed files with 960 additions and 1,300 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,7 @@ tokensToSwap:

// examples/amm/amm.algo.ts:79
// factor = SCALE - FEE
int 1_000
int 5
-
int 995
frame_bury -4 // factor: uint64

// examples/amm/amm.algo.ts:80
Expand Down
2 changes: 1 addition & 1 deletion examples/amm/tealscript_artifacts/ConstantProductAMM.json

Large diffs are not rendered by default.

Loading

0 comments on commit a820742

Please sign in to comment.