feat(factorial): integrate Plutarch 1.10.1 submission#33
Merged
Conversation
Cherry-picked Plutarch factorial submission from PR #29: - CPU units: 7,845,912 - Memory units: 28,362 - Script size: 42 bytes - Demonstrates power of builtin casing as noted by contributor
- Updated all submission metrics from cape submission measure --all - Regenerated reports showing factorial benchmark with 2 submissions: - Plinth 1.52.0.0: 5.86M CPU, 21.75K Memory (best) - Plutarch 1.10.1: 7.85M CPU, 28.36K Memory - Refreshed fibonacci charts and tables with latest measurements
…ibility
Fixes GHC parser error in Haddock mode for postfix qualified imports:
- Added {-# LANGUAGE ImportQualifiedPost #-} pragma
- Enables proper formatting with fourmolu/treefmt
- Formatted with consistent import ordering and spacing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR integrates the Plutarch factorial submission from #29, following the same clean integration strategy used for the fibonacci submission.
Changes:
cape submission measure --allPerformance Comparison:
Implementation Notes:
source/factorial.hsIntegration Strategy
This PR cleanly integrates only the submission files from #29, avoiding merge conflicts by:
submissions/factorial/Plutarch_1.10.1_SeungheonOh/Verification
Factorial benchmark now displays both submissions:
Supersedes and closes #29
Related: Closes #30 (Review UPLC-CAPE submission: factorial)
cc @SeungheonOh @Unisay