lambdaclass / era_vm

EraVM implementation
MIT License
19 stars 3 forks source link

Optimization: Modify `Heap` read and write related functions (wip) #206

Closed JulianVentura closed 3 weeks ago

JulianVentura commented 1 month ago

Description

This PR improves vm performance by updating Heap read and write related functions.

Inspiration

We are currently iterating and applying U256 operations with a for loop on some Heap functions, like read. It works, but it's not very efficient. We may replace this with functions like U256::from_big_endian instead.

Changes

Results

JulianVentura commented 3 weeks ago

Close because moved to #216