Skip to content

feat: add bufferedReader for extract#86

Merged
chlins merged 1 commit intomainfrom
feature/buffer
Feb 26, 2025
Merged

feat: add bufferedReader for extract#86
chlins merged 1 commit intomainfrom
feature/buffer

Conversation

@gaius-qi
Copy link
Member

This pull request includes changes to optimize the reading of blobs in the pkg/backend/extract.go file by introducing a buffered reader. The most important changes include adding a new import, defining a default buffer size, and modifying the exportModelArtifact function to use a buffered reader.

Buffer optimization:

Signed-off-by: Gaius <gaius.qi@gmail.com>
@gaius-qi gaius-qi added the enhancement New feature or request label Feb 26, 2025
@gaius-qi gaius-qi self-assigned this Feb 26, 2025
Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

@chlins chlins merged commit 315dec6 into main Feb 26, 2025
5 checks passed
@chlins chlins deleted the feature/buffer branch February 26, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants