neo-go/pkg
Roman Khimov db99368e96 compiler: optimize GAS cost of type conversion
CONVERT call base price is 8192. DUP, ISTYPE and JMPIF all cost 2. So we add
0.07% overhead in the worst case and save 99.93% otherwise.

At the same time, old code was just two bytes and new one is seven, but I
think it's tolerable considering how much GAS it can potentially save.

Fix #2250.
2021-11-12 19:58:21 +03:00
..
compiler compiler: optimize GAS cost of type conversion 2021-11-12 19:58:21 +03:00
config rpc: implement findstates RPC handler 2021-10-13 11:41:05 +03:00
consensus rpc: refactor calculatenetworkfee handler 2021-10-25 19:07:25 +03:00
core Merge pull request #2252 from nspcc-dev/packmap-packstruct 2021-11-12 18:25:54 +03:00
crypto keys: reuse coordLen where appropriate 2021-08-26 17:30:04 +03:00
encoding util: move ArrayReverse into package of its own 2021-07-19 22:57:55 +03:00
interop compiler: remove custom logic for util builtins 2021-10-23 16:12:47 +03:00
io *: make tests use TempDir(), fix #1319 2021-08-26 17:29:40 +03:00
neotest neotest: allow to use 6-node committee 2021-11-11 11:15:15 +03:00
network Merge pull request #2240 from nspcc-dev/fix-panic-in-network 2021-11-01 12:44:15 +03:00
rpc Merge pull request #2234 from nspcc-dev/rpc/params-parsing 2021-11-10 20:45:44 +03:00
services rpc: refactor calculatenetworkfee handler 2021-10-25 19:07:25 +03:00
smartcontract transaction: add new Rules witness scope 2021-11-12 15:29:28 +03:00
util util: reduce allocations in util.Uint256DecodeStringLE 2021-08-17 16:53:39 +03:00
vm vm: add PACKMAP/PACKSTRUCT, extend UNPACK 2021-11-12 17:19:59 +03:00
wallet wallet: do not store file handle 2021-10-06 15:29:52 +03:00