snarkVM
snarkVM copied to clipboard
[Feature] Opcodes for array operations.
🚀 Feature
With the latest increase in array sizes to 512, array operations in AVM bytecode can be cumbersome. In order to:
- write to an element
- slice an array
- extend an array you must cast the full array entirely. For large arrays, this results in a long instruction that significantly increases the maximum program size.
Supporting this would result in condensed bytecode for specific use cases.