• Marius van der Wijden's avatar
    core, txpool: less allocations when handling transactions (#21232) · af5c97ae
    Marius van der Wijden authored
    * core: use uint64 for total tx costs instead of big.Int
    
    * core: added local tx pool test case
    
    * core, crypto: various allocation savings regarding tx handling
    
    * Update core/tx_list.go
    
    * core: added tx.GasPriceIntCmp for comparison without allocation
    
    adds a method to remove unneeded allocation in comparison to tx.gasPrice
    
    * core: handle pools full of locals better
    
    * core/tests: benchmark for tx_list
    
    * core/txlist, txpool: save a reheap operation, avoid some bigint allocs
    Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
    af5c97ae
Name
Last commit
Last update
..
bitutil Loading commit data...
compiler Loading commit data...
fdlimit Loading commit data...
hexutil Loading commit data...
math Loading commit data...
mclock Loading commit data...
prque Loading commit data...
big.go Loading commit data...
bytes.go Loading commit data...
bytes_test.go Loading commit data...
debug.go Loading commit data...
format.go Loading commit data...
path.go Loading commit data...
size.go Loading commit data...
size_test.go Loading commit data...
test_utils.go Loading commit data...
types.go Loading commit data...
types_test.go Loading commit data...