Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(nifs): rm trait FoldingScheme #389

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

cyphersnake
Copy link
Collaborator

Motivation
This is an attempt to speed up the implementation of #378

If we remove the FoldingScheme trait, we can be more flexible in customizing Sangria & ProtoGalaxy nifs types.

This is important since Sangria uses a cyclic scheme, Cyclefold has a simpler recursion scheme

Overview
Just remove trait and use all methods directly. Structure of methods not changed

@cyphersnake cyphersnake requested a review from chaosma November 12, 2024 15:53
@cyphersnake cyphersnake self-assigned this Nov 12, 2024
@cyphersnake cyphersnake force-pushed the cyclefold-rm-folding-scheme-trait branch from 333a4b8 to d0e08fa Compare November 12, 2024 15:54
Copy link
Collaborator

@chaosma chaosma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we will see if this approach works as expected

**Motivation**
This is an attempt to speed up the implementation of #378
If we remove the `FoldingScheme` trait, we can be more flexible in customizing Sangria & ProtoGalaxy types.

This is important since Sangria uses a cyclic scheme, Cyclefold has a simpler recursion scheme

**Overview**
Just remove trait and use all methods directly. Structure of methods not changed
@cyphersnake cyphersnake force-pushed the cyclefold-rm-folding-scheme-trait branch from d0e08fa to a938abb Compare November 19, 2024 14:09
@cyphersnake cyphersnake merged commit c1a337c into main Nov 19, 2024
1 check passed
@cyphersnake cyphersnake deleted the cyclefold-rm-folding-scheme-trait branch November 19, 2024 14:09
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