go-ethereum/common
David Chase 5a8110b292 common/bitutil: use result of TestBytes to prevent dead code elimination (#19846)
Gollvm has very aggressive dead code elimination that completely
removes one of these two benchmarks.  To prevent this, use the
result of the benchmark (a boolean), and to be "fair", make the
transformation to both benchmarks.

To be reliably assured of not removing the code, "use" means
assigning to an exported global.  Non-exported globals and
//go:noinline functions are possibly subject to this optimization.
2024-12-28 09:06:30 +08:00
..
bitutil common/bitutil: use result of TestBytes to prevent dead code elimination (#19846) 2024-12-28 09:06:30 +08:00
compiler cmd/abigen: refactor command line interface (#19797) 2024-12-28 09:06:30 +08:00
constants update devnet 1559 block number (#736) 2024-11-17 21:23:19 -08:00
countdown all: use errrors.New instead of empty fmt.Errorf 2024-06-14 19:19:21 +08:00
fdlimit common/fdlimit: fix linter warning (#25192) 2024-08-03 08:12:28 +08:00
hexutil new EVM Upgrade 2021-09-21 16:53:46 +05:30
lru common/lru: use clear builtin (#29399) 2024-08-26 11:17:23 +08:00
math common: improve documentation comments (#16701) 2024-12-28 09:06:30 +08:00
mclock new EVM Upgrade 2021-09-21 16:53:46 +05:30
number common: improve documentation comments (#16701) 2024-12-28 09:06:30 +08:00
prque new EVM Upgrade 2021-09-21 16:53:46 +05:30
sort common: implement old version of func sort.Slice 2023-10-23 22:51:06 +08:00
big.go core, vm, common: define constantinople fork + shift (#16045) 2018-02-23 12:32:57 +02:00
bytes.go common: improve documentation comments (#16701) 2024-12-28 09:06:30 +08:00
bytes_test.go common: improve IsHexAddress and add tests (#15551) 2017-12-04 19:34:15 +01:00
constants.go Dev upgrade merge from master to fix rpc nodes (#615) 2024-08-21 00:17:39 -07:00
debug.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
format.go FIx Bad block error. 2021-09-17 17:59:06 +05:30
gas.go all: implement eip-1559 (#22837) 2024-11-01 11:36:52 +08:00
main_test.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
path.go common: improve documentation comments (#16701) 2024-12-28 09:06:30 +08:00
size.go common: improve functions of StorageSize (#19244) 2024-12-28 09:06:30 +08:00
size_test.go cmd/utils: relinquish GC cache to read cache in archive mode (#18991) 2024-12-28 09:06:30 +08:00
test_utils.go PDF-01 (#397) 2024-01-19 15:05:03 +04:00
types.go common: remove function Big() for type Address (#19210) 2024-12-28 09:06:30 +08:00
types_test.go common: remove function Big() for type Address (#19210) 2024-12-28 09:06:30 +08:00