Skip to content

Conversation

@adpthegreat
Copy link
Contributor

@adpthegreat adpthegreat commented Jan 29, 2026

This PR adds SchemaWrite and SchemaRead implementations of the Cell and RefCell types in std::cell

Porting the types from the bincode impls here

Didn't implement ZeroCopy for Cell because we can't guarantee whether T can be safely constructed from bytes

@adpthegreat adpthegreat marked this pull request as draft January 30, 2026 08:47
@adpthegreat adpthegreat marked this pull request as ready for review January 30, 2026 13:16
@adpthegreat adpthegreat changed the title Add SchemaWrite and SchemaRead implementations for Cell and RefCell Feat: Add SchemaWrite and SchemaRead implementations for Cell and RefCell Jan 30, 2026
@adpthegreat adpthegreat force-pushed the add_cell_refcell branch 2 times, most recently from 566bd51 to 7fa9f7c Compare January 30, 2026 19:42
@adpthegreat
Copy link
Contributor Author

Done

cpubot
cpubot previously approved these changes Jan 31, 2026
@cpubot
Copy link
Contributor

cpubot commented Feb 2, 2026

It appears some of the tests that were added ballooned the miri test time by an additional ~3 hours. My guess is that it's likely due to some of the complex nested heap allocated types. Should likely limit the length of those data structures in the proptests or remove some of the nesting.

@adpthegreat
Copy link
Contributor Author

i've simplified the nested type and complex type tests

@adpthegreat adpthegreat force-pushed the add_cell_refcell branch 2 times, most recently from 90cd29a to a0a0cb4 Compare February 3, 2026 06:44
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