Skip to content

Quick Optimization for showStandard#639

Open
BebeSparkelSparkel wants to merge 4 commits intohaskell:masterfrom
BebeSparkelSparkel:showStandard-quick-performance-improvement
Open

Quick Optimization for showStandard#639
BebeSparkelSparkel wants to merge 4 commits intohaskell:masterfrom
BebeSparkelSparkel:showStandard-quick-performance-improvement

Conversation

@BebeSparkelSparkel
Copy link
Copy Markdown
Contributor

@BebeSparkelSparkel BebeSparkelSparkel commented Jan 15, 2024

use preallocated bytestring of zeros instead of a String of zeros

Improves the benchmark for printing floats by 60% doubles by 80%

@BebeSparkelSparkel
Copy link
Copy Markdown
Contributor Author

Improved performance enclosed bench.txt

@BebeSparkelSparkel BebeSparkelSparkel force-pushed the showStandard-quick-performance-improvement branch from 2184529 to deff84c Compare July 1, 2024 16:16
@BebeSparkelSparkel
Copy link
Copy Markdown
Contributor Author

Should pull this before #637

@BebeSparkelSparkel BebeSparkelSparkel force-pushed the showStandard-quick-performance-improvement branch from deff84c to f6baa8c Compare July 22, 2024 14:03
@BebeSparkelSparkel
Copy link
Copy Markdown
Contributor Author

Rebased to remove old-ghc failing ci

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