Skip to content

Conversation

@NiuBlibing
Copy link

OleStream used list to store the reading block and convert it to bytes by join, this method cause more memory useage and may more memory pool usage.
This patch optimizes it by directly writing data to super BytesIO's buffer.

OleStream used list to store the reading block and convert it to
bytes by join, this method cause more memory useage and may more
memory pool usage.
This patch optimizes it by directly writing data to super BytesIO's
buffer.
@decalage2 decalage2 self-requested a review January 26, 2025 20:53
@decalage2 decalage2 self-assigned this Jan 26, 2025
@decalage2 decalage2 added this to the olefile 0.50 milestone Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants