Skip to content

Conversation

@tcoratger
Copy link
Owner

Should supersede #314

@kilic what do you think about this?

folding_factor,
merkle_hash,
merkle_compress,
dft: Radix2DFTSmallBatch::<F>::default(),
Copy link
Contributor

Choose a reason for hiding this comment

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

It becomes a bit faster on my end when we configure the fft instance like

 let max_fft_size = num_variables + starting_rate - folding_factor.at_round(0);
 let dft = Radix2DFTSmallBatch::<F>::new(1 << max_fft_size);

Copy link
Owner Author

Choose a reason for hiding this comment

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

Yes you are right (I've the same locally), let us not merge this for now since we don't want to degrade performance for now, especially for such a detail.

I've another idea that would unblock things and would be to add a new method new(size:usize) inside this trait https://github.com/Plonky3/Plonky3/blob/658115aae28312e97cd3ef38d1ab046839f734a8/dft/src/traits.rs#L27. This would allow us to just rely on this and be able to init any DFT. Will check this.

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.

3 participants