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

Add polynomial context switcher #32

Merged
merged 3 commits into from
Jul 31, 2022
Merged

Add polynomial context switcher #32

merged 3 commits into from
Jul 31, 2022

Conversation

tlepoint
Copy link
Owner

No description provided.

@tlepoint
Copy link
Owner Author

The polynomial extender is slower than I would like too. In my original implementation, to go from 3 to 6 moduli, it was taking

poly::extend/1024/3->6  time:   [62.700 us 62.733 us 62.773 us]

and this implementation is

rq_switchers/extender/1024/3_to_6                                                                            
                        time:   [96.108 µs 96.225 µs 96.368 µs]

It is noticeably higher, so we need to investigate more. Part of it is due to the use of u256 instead of ~u192, but I am not sure it accounts for all the difference.

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.

1 participant