Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(air-interpreter)!: rkyv-serialized JValues #814

Open
wants to merge 40 commits into
base: master
Choose a base branch
from

Conversation

monoid
Copy link
Contributor

@monoid monoid commented Feb 7, 2024

It preserves shared data, and values' data size is not exploded on the serialization.

This change makes data format incompatible with previous versions.

monoid and others added 30 commits January 26, 2024 18:45
Instead of `anyhow`, use `eyre` to reduce number of deps.  The `eyre`
crate is already used in `avm-server` and `fluence-keypair`.
It is run with 10Mb stack, not 8Mb stack
The stack size if 10mb for convenience.
After introducing cheap-to-clone JValue and removing Cows, it is same as
`JValuable::as_jvalue`.
Constant strings that are converted to JSON values are stored as
`JsonStrings`.  It saves on memory allocations.
After removing Cows, their names make no sense.
It is not needed anymore
@monoid monoid added P-high priority: high C-performance category: an issue improves performance A-air-interpreter area: air-interpreter labels Feb 7, 2024
@monoid monoid self-assigned this Feb 7, 2024
Copy link

linear bot commented Feb 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-air-interpreter area: air-interpreter C-performance category: an issue improves performance P-high priority: high
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants