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

Set break_on_hyphens=False to optimise C output #96

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

Daft-Freak
Copy link
Collaborator

Causes TextWrapper.fill to use a simpler regex, speeding up big arrays a bit.

Minor change found while messing around with build profiling... (voxel/mp3 were taking a while to handle assets). Could probably be reworked further to not join, then immediately re-split in textwrap... but I'm already getting distracted 😆 .

Makes a clean debug build of the voxel example ~1 second faster (from a ~18s single-threaded build)

Causes `TextWrapper.fill` to use a simpler regex, speeding up big arrays a bit.

Makes a clean debug build of the voxel example ~1 second faster (from a ~18s single-threaded build)
@coveralls
Copy link

Pull Request Test Coverage Report for Build 2957839915

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 79.462%

Totals Coverage Status
Change from base Build 1964233313: 0.0%
Covered Lines: 1153
Relevant Lines: 1451

💛 - Coveralls

@Gadgetoid Gadgetoid merged commit bd0ceb4 into 32blit:master Sep 7, 2022
@Gadgetoid
Copy link
Contributor

Oh wow, nice! Thank you.

@Daft-Freak Daft-Freak deleted the patch-1 branch September 7, 2022 10:35
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.

3 participants