Content
@
https://opensea.io/collection/evm-6
0 reply
0 recast
2 reactions
jtriley.eth
@jtriley
announcing the rippler, a fast as fuck multicaller. the rippler uses a custom encoding scheme, packing calls in reverse order and prefixing the calldata with a 2 byte jump target indicating the number of calls to make. 0/3 https://github.com/jtriley-eth/the-rippler
2 replies
1 recast
18 reactions
maurelian
@maurelian.eth
Fast as fuck sounds so much better than cheap as fuck :)
1 reply
0 recast
1 reaction
maurelian
@maurelian.eth
Wow, I don’t read huff too good, but there’s almost no source code there. 🤌
1 reply
0 recast
1 reaction
jtriley.eth
@jtriley
removal of the loop cleans it up a lot, just 16 calls delimited by jump labels :)
1 reply
0 recast
1 reaction
maurelian
@maurelian.eth
Generality turns out to be an expensive luxury.
1 reply
0 recast
1 reaction
maurelian
@maurelian.eth
@jtriley what’s the benefit of starting from the end of the list?
1 reply
0 recast
1 reaction
jtriley.eth
@jtriley
bc you have to know when to terminate without a jumpi, so you jump to wherever you start and decrement until the last call frame there are ways to get around this without reverse encoding but it incurs cost at runtime and in calldatasize
1 reply
0 recast
1 reaction