openfheorg / openfhe-development

This is the development repository for the OpenFHE library. The current (stable) version is v1.2.3 (released on October 30, 2024).
BSD 2-Clause "Simplified" License
770 stars 192 forks source link

Optimize polynomial evaluation #771

Open andreea-alexandru opened 6 months ago

andreea-alexandru commented 6 months ago

There are many places in EvalChebyshevPS/EvalPolyPS and InnerEvalChebyshevPS/InnerEvalPolyPS where fewer copies should be made and the code streamlined.

andreea-alexandru commented 3 weeks ago

On a related note, here and here it should be 0 instead of 1.