risechain / pevm

Blazingly fast Parallel EVM
MIT License
217 stars 41 forks source link

Sequentially execute several transactions in a parallel batch #315

Open hai-rise opened 1 month ago

hai-rise commented 1 month ago

Thread overheads & synchronization can be expensive, so executing two small transactions in parallel may even be slower than sequential execution. Instead, we can detect consecutively dependent or small transactions to execute them together.

1 Gigagas of raw transfers may be a good starting point, to execute them in groups of n transactions in parallel.