You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/dmakarov/bpf-tools/actions/runs/755303744 - second version. This version doesn't generate a call to sol_mem* syscalls unless the number of store or load instructions is greater than 8 for the operation. It may be more efficient to perform mem-ops on small amounts of data in the VM than to make a syscall for every mem-op. It would be interesting to see your results comparing both versions of the toolchain.
Expected result:
Here is what jackmay expect:
original toolchain should work fine but will do all the mem ops via BPF instructions within the VM
old toolchain, should error if you program called memcmp due to bug in the toolchain
new toolchain, should work fine, mem ops will be performed by native instructions via a syscall.
The text was updated successfully, but these errors were encountered:
To carry out measurements, we need to use a Solana node with support for memory system calls and build a contract with a custom toolchain.
Memory operations syscall can be found in solana-labs/solana#16447
Custom toolchain supported the memory operations:
Expected result:
Here is what jackmay expect:
The text was updated successfully, but these errors were encountered: