mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Optimize store_slice function to reduce gas consumption
This commit is contained in:
parent
921aa29eb5
commit
3158025a9a
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ builder store_ref(builder b, cell c) asm(c b) "STREF";
|
|||
|
||||
|
||||
;;; Stores `slice` [s] into `builder` [b]
|
||||
builder store_slice(builder b, slice s) asm "STSLICER";
|
||||
builder store_slice(builder b, slice s) asm(s b) "STSLICE";
|
||||
|
||||
;;; Stores (serializes) an integer [x] in the range `0..2^120 − 1` into `builder` [b].
|
||||
;;; The serialization of [x] consists of a 4-bit unsigned big-endian integer `l`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue