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
Commit 57c8cb1
Browse filesBrowse the repository at this point in the historyBrowse files
Optimize sequence_merge using direct concatenation for small cases
Replace linear recursive instantiation with direct pack expansion
for 1-4 sequences, and binary tree reduction for larger cases.
Before: O(N) depth for merging N sequences
After: O(log N) depth with O(1) for up to 4 sequences
This further reduces maximum nesting depth from 26 to 22 levels
when combined with the previous sequence_gen optimization.
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments