alan icon indicating copy to clipboard operation
alan copied to clipboard

Rework how global memory works

Open depombo opened this issue 4 years ago • 0 comments

Global memory doesn't have a good way of representing variable memory types adding a lot of corner case handling for strings, which are currently "blessed" as the only variable-sized type allowed in global memory. Making all types representable in Global memory would unify it with "normal" memory in the AVM and allow the special case opcodes and conditionals in the AVM to go away, reducing possible bugs dramatically and providing some perf boost to the AVM by making memory manipulation less "branchy."

depombo avatar Jan 26 '21 22:01 depombo