Use bit packing to reduce communication.

This commit is contained in:
Marcel Keller
2023-05-15 13:33:28 +10:00
parent 8e735daab5
commit 2f76d73698
26 changed files with 142 additions and 71 deletions

View File

@@ -125,6 +125,7 @@ void InputBase<T>::add_from_all(const typename T::open_type& input, int n_bits)
template<class T>
void Input<T>::send_mine()
{
this->os[P.my_num()].append(0);
P.send_all(this->os[P.my_num()]);
}