shemnon opened a new pull request #74:
URL: https://github.com/apache/incubator-tuweni/pull/74


   Hyperledger Besu has identified that converting between Bytes32 and
   UInt256 is a performance bottleneck. In particular the current paths
   force a large number of calls to org.apache.tuweni.bytes.Bytes::get and
   org.apache.tuweni.bytes.Bytes::getInt, both megamorophic interface
   methods that Hotspot cannot easily optimize.
   
   The performance change is to go to straight primitive manipulation for
   hot cases. This resulted in a 75% speedup in one ad-hoc benchmark
   modeling a EVM Transaction execution.
   
   Signed-off-by: Danno Ferrin <[email protected]>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to