Skip to content

Add entry Factorial for Plutarch implementation#29

Closed
SeungheonOh wants to merge 2 commits intoIntersectMBO:mainfrom
SeungheonOh:sho/plutarchfact
Closed

Add entry Factorial for Plutarch implementation#29
SeungheonOh wants to merge 2 commits intoIntersectMBO:mainfrom
SeungheonOh:sho/plutarchfact

Conversation

@SeungheonOh
Copy link
Copy Markdown

buildin casing is super powerful it seems!

Unisay added a commit that referenced this pull request Aug 20, 2025
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
@Unisay
Copy link
Copy Markdown
Collaborator

Unisay commented Aug 20, 2025

This PR has been superseded by #33 due to merge conflicts with recent changes.

The new PR cleanly integrates the factorial submission and includes:

  • ✅ Fresh measurements with cape submission measure --all
  • ✅ Regenerated reports showing factorial comparison
  • ✅ Fixed Haskell formatting with ImportQualifiedPost extension
  • ✅ Performance comparison: Plinth (5.86M CPU) vs Plutarch (7.85M CPU)

Thank you @SeungheonOh for demonstrating the power of builtin casing! The factorial implementation is much more efficient than fibonacci. 🚀

@Unisay Unisay closed this in #33 Aug 20, 2025
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.

2 participants