Skip to content

feat: deep selector hack #3357

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/benchmarks/escrow/gas.json
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,16 @@
"approveTon": "6608",
"cancelTon": "4509"
}
},
{
"label": "1.6.13 with preview of deep selector hack",
"pr": null,
"gas": {
"fundingTon": "3987",
"changeCode": "4112",
"approveTon": "6474",
"cancelTon": "4375"
}
}
]
}
8 changes: 8 additions & 0 deletions src/benchmarks/escrow/size.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@
"cells": "20",
"bits": "10919"
}
},
{
"label": "1.6.13 with preview of deep selector hack",
"pr": null,
"size": {
"cells": "19",
"bits": "10871"
}
}
]
}
9 changes: 9 additions & 0 deletions src/benchmarks/jetton/gas.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,15 @@
"burn": "11602",
"discovery": "6117"
}
},
{
"label": "1.6.13 with preview of deep selector hack",
"pr": null,
"gas": {
"transfer": "14153",
"burn": "11488",
"discovery": "5955"
}
}
]
}
10 changes: 10 additions & 0 deletions src/benchmarks/jetton/size.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,16 @@
"wallet cells": "15",
"wallet bits": "7772"
}
},
{
"label": "1.6.13 with preview of deep selector hack",
"pr": null,
"size": {
"minter cells": "26",
"minter bits": "13913",
"wallet cells": "14",
"wallet bits": "7716"
}
}
]
}
10 changes: 10 additions & 0 deletions src/benchmarks/nft/gas.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,16 @@
"deploy nft": "10335",
"batch deploy nft": "654266"
}
},
{
"label": "1.6.13 with preview of deep selector hack",
"pr": null,
"gas": {
"transfer": "6845",
"get static data": "4290",
"deploy nft": "10149",
"batch deploy nft": "640504"
}
}
]
}
10 changes: 10 additions & 0 deletions src/benchmarks/nft/size.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,16 @@
"item cells": "10",
"item bits": "5217"
}
},
{
"label": "1.6.13 with preview of deep selector hack",
"pr": null,
"size": {
"collection cells": "35",
"collection bits": "19460",
"item cells": "9",
"item bits": "5169"
}
}
]
}
9 changes: 9 additions & 0 deletions src/benchmarks/notcoin/gas.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@
"burn": "12027",
"discovery": "5818"
}
},
{
"label": "1.6.13 with preview of deep selector hack",
"pr": null,
"gas": {
"transfer": "15239",
"burn": "11823",
"discovery": "5656"
}
}
]
}
10 changes: 10 additions & 0 deletions src/benchmarks/notcoin/size.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,16 @@
"wallet cells": "13",
"wallet bits": "8020"
}
},
{
"label": "1.6.13 with preview of deep selector hack",
"pr": null,
"size": {
"minter cells": "29",
"minter bits": "15863",
"wallet cells": "13",
"wallet bits": "7964"
}
}
]
}
13 changes: 13 additions & 0 deletions src/benchmarks/sbt/gas.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,19 @@
"revoke": "3850",
"take excess": "5577"
}
},
{
"label": "1.6.13 with preview of deep selector hack",
"pr": null,
"gas": {
"deploy": "3986",
"request owner": "4722",
"prove ownership": "4928",
"get static data": "4652",
"destroy": "6163",
"revoke": "3816",
"take excess": "5443"
}
}
]
}
2 changes: 1 addition & 1 deletion src/benchmarks/sbt/size.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"pr": "https://github.com/tact-lang/tact/pull/2993",
"size": {
"item cells": "17",
"item bits": "9353"
"item bits": "9305"
}
}
]
Expand Down
9 changes: 9 additions & 0 deletions src/benchmarks/wallet-v4/gas.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,15 @@
"addPlugin": "7399",
"pluginTransfer": "3709"
}
},
{
"label": "1.6.13 with preview of deep selector hack",
"pr": null,
"gas": {
"externalTransfer": "3383",
"addPlugin": "7083",
"pluginTransfer": "3819"
}
}
]
}
10 changes: 10 additions & 0 deletions src/benchmarks/wallet-v5/gas.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,16 @@
"internalTransfer": "5724",
"extensionTransfer": "4656"
}
},
{
"label": "1.6.13 with preview of deep selector hack",
"pr": null,
"gas": {
"externalTransfer": "4771",
"addExtension": "5434",
"internalTransfer": "5862",
"extensionTransfer": "4794"
}
}
]
}
Loading