Optimized ctxt/ptxt Core* operations for BFV (the extra logic with adjustments, which was implemented for BGV and CKKS, is not needed in this case)
Optimized private ctxt/ptxt operations for BFV/BGV to reduce the number of memory allocations
Optimized the encoding for BFV/BGV plaintexts to only do required steps for DCRTPoly
Changed encoded plaintexts for DCRTPoly to EVALUATION representation (instead of the COEFFICIENT one)
The runtime of ctxt/ptxt is now 1.5-3x faster than before (depending on the machine used for measurements). The packing now takes more time because it calls NTTs at the end rather than during subsequent ctxt/ptxt operations.
The runtime of ctxt/ptxt is now 1.5-3x faster than before (depending on the machine used for measurements). The packing now takes more time because it calls NTTs at the end rather than during subsequent ctxt/ptxt operations.