nim-eth/eth
Jacek Sieka 2baa4c02a1
avoid allocation in `hash(ValidIpAddress)` (#433)
* avoid allocation in `hash(ValidIpAddress)`

While casually browsing the profiler output, to my great surprise I
found that an allocating string conversion function (gasp!) in the hash
function for ip addresses - this PR carefully excises this evil
construct from the codebase.

* bump nim version
2021-11-29 20:58:45 +01:00
..
common Fix RLP serialisation of `seq[Transaction]` used in `eth` protocol 2021-07-29 15:37:11 +03:00
db Allow Sqlite keystores to be used in read-only mode 2021-11-16 13:45:46 +02:00
keyfile Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
net avoid allocation in `hash(ValidIpAddress)` (#433) 2021-11-29 20:58:45 +01:00
p2p Revert the useless async change for queryRandom (#432) 2021-11-22 23:14:37 +01:00
rlp Remove `{.rlpInline.}` which was never really implemented 2021-08-10 14:08:35 +03:00
ssz avoid func call when merkleizing UintN arrays (#413) 2021-10-21 10:40:40 +02:00
trie Add proof verification to public api (#390) 2021-08-12 16:15:02 +02:00
utp Track current bytes in flight (#434) 2021-11-24 17:49:13 +01:00
async_utils.nim awaitWithTimeout for Future[void] 2021-02-04 16:45:50 +02:00
bloom.nim add 'BloomFilter.init' implementation 2020-09-30 12:04:23 +07:00
common.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
keyfile.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
keys.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
p2p.nim Add option to `connectToNetwork` return without waiting for peers 2021-08-10 14:09:57 +03:00
rlp.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00
trie.nim Add build_dcli target and add it to CI (#344) 2021-04-06 13:33:24 +02:00