Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Feature/deserde#413

Merged
81 commits merged intotrunkfrom
feature/deserde
Oct 24, 2021
Merged

Feature/deserde#413
81 commits merged intotrunkfrom
feature/deserde

Conversation

@ghost
Copy link

@ghost ghost commented Oct 17, 2021

No description provided.

Zoey Riordan and others added 30 commits June 19, 2021 19:31
src/de/read.rs Outdated

#[inline(always)]
fn get_byte_slice(&mut self, length: usize) -> Result<&'storage [u8]> {
fn get_byte_slice(&mut self, length: usize) -> Result<&'storage [u8], DecodeError> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is only used for BorrowReader::take_bytes and nowhere else, what was the reason we split this again?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, but it might be needed for the peek_read optimization that got added in trunk. I'll evaluate.

@ghost ghost merged commit c442643 into trunk Oct 24, 2021
@VictorKoenders VictorKoenders deleted the feature/deserde branch October 25, 2021 05:50
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants