fluencelabs / aquavm

AquaVM interprets AIR – a π-calculus-derived set of instructions that the Aqua language compiles to
GNU Affero General Public License v3.0
147 stars 14 forks source link

feat(execution-engine): Rc-based JSON value #813

Closed monoid closed 8 months ago

monoid commented 8 months ago

Add air-interpreter-value crate that contains JValue type that describes a JSON value, but is Rc-based, and its subelements can be cheaply copied and use in other JSON values.

It reduces memory and CPU consumption for AquaVM.

Please note that the new type is used only in the AquaVM internals and in not visible on the interface level.

linear[bot] commented 8 months ago

VM-422 Rc-based JSON value