Skip to content

fputs instead of fprintf#192

Merged
mgree merged 1 commit intomainfrom
fputs-speedup
Feb 25, 2025
Merged

fputs instead of fprintf#192
mgree merged 1 commit intomainfrom
fputs-speedup

Conversation

@mgree
Copy link
Copy Markdown
Contributor

@mgree mgree commented Feb 24, 2025

Playing around with magic-trace, found a way to save 10μs in try-summary: use explicit fputs(..., stdout) instead of printf with simple string formats.

@mgree mgree merged commit 67052d8 into main Feb 25, 2025
23 checks passed
@mgree mgree deleted the fputs-speedup branch February 25, 2025 00:56
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.

1 participant