You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HermitCrab synthesis: memoize and hoist Word.ExpandAlternatives (rejected: word clones unchanged at 4,747,013) #584
The experiment memoized the Source recursion in Word.ExpandAlternatives and computed an analysis word's expansion once outside the per-root-candidate loop. It is a memo. It was exact, and was removed from production.
Measured. On 45 Sena words, word clones were unchanged at 4,747,013. Deeper strata did not branch, so the only saving was small temporary list work. The earlier "75% fewer alternatives expanded" figure cannot be attributed to the final diff. A separate duplicate census with the pending-trail content in the key found only 11% of alternatives are duplicates, a 2.28% wall-clock ceiling on Sena (ledger row 16).
Why rejected. It changed no clone count, and the broader deduplication ceiling is below the ledger's 5% close gate.
Activity