Skip to content

Improving Paragraph.text performance by 500%~#1118

Open
yoniy-talon wants to merge 1 commit intopython-openxml:masterfrom
yoniy-talon:paragraph-performance-fix
Open

Improving Paragraph.text performance by 500%~#1118
yoniy-talon wants to merge 1 commit intopython-openxml:masterfrom
yoniy-talon:paragraph-performance-fix

Conversation

@yoniy-talon
Copy link
Copy Markdown

During my tests with large docx files with @DrorRoth, we managed to increase Paragraph.text performance by 500%~ using this simple fix.

Copy link
Copy Markdown

@creyD creyD left a comment

Choose a reason for hiding this comment

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

Looks good

Copy link
Copy Markdown

@cenedella cenedella left a comment

Choose a reason for hiding this comment

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

Would be great to have these changes accepted into the library.

@creyD
Copy link
Copy Markdown

creyD commented Mar 14, 2023

@scanny Could we please get a timeline, when this would be able to be merged or what needs to be adjusted?

@lightmare
Copy link
Copy Markdown

You don't even need to create a list, just pass the generator itself to join.

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.

4 participants