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

refactor(UTXO): transaction deserialization #1993

Closed
wants to merge 1 commit into from

Conversation

onur-ozkan
Copy link
Member

@onur-ozkan onur-ozkan commented Oct 13, 2023

WIP

@onur-ozkan onur-ozkan marked this pull request as draft October 13, 2023 09:13
let mut buffer = vec![];
reader.read_to_end(&mut buffer)?;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wonder why you do not want to use read_to_end().
I took a look at its code, apparently it uses a too small buffer of 32 byte to read, is this the reason?

@onur-ozkan onur-ozkan added status: in progress improvement: resource usage Improvements made on resource usage on runtime or/and compile time and removed micro-opt labels Dec 16, 2024
@onur-ozkan onur-ozkan closed this Feb 3, 2025
@onur-ozkan onur-ozkan deleted the ref-utxo-deserialization branch February 3, 2025 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement: resource usage Improvements made on resource usage on runtime or/and compile time status: in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants