Skip to content

Conversation

@senekor
Copy link
Owner

@senekor senekor commented Apr 22, 2023

A little proof of concept, using yoke to carry an Unstructured along with the underlying, owned data to erase the lifetime on Unstructured.

The downside seems to me that the code is slightly more complex. It took me a moment to figure out how to use Yoke::map_project. It may be the case that I'm just not using yoke correctly.

The advantage I'm seeing is that this avoids copying the data back and forth between two vectors. This may be significant if a lot of data is received from the fuzzer and every control plane method copies most of that once.

Another thing to consider is the additional dependency, which cranelift tries to avoid.

Co-authored-by: Falk Zwimpfer <[email protected]>
Co-authored-by: Moritz Waser <[email protected]>
@senekor senekor deleted the branch fuzz-randomize-block-order May 3, 2023 08:05
@senekor senekor closed this May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants