Przeglądaj źródła

For the artifact, don't actually write the DPFs to disk

in order to not use very large amounts of storage
Ian Goldberg 1 rok temu
rodzic
commit
02d8961e96

+ 4 - 0
preprocessing/p2preprocessing.cpp

@@ -275,11 +275,15 @@ int main(int argc, char* argv[])
   free(output1);
   free(output0);
 
+    /* For the artifact, don't actually write these in order to not use very
+     * large amounts of storage
+
   for(size_t i = 0; i < thread_per_batch; ++i)
   {
    P2_write_evalfull_outs_into_a_file(false, i, db_nitems,  flags0[i], 	leaves0[i]);
    P2_write_evalfull_outs_into_a_file(true,  i, db_nitems,  flags1[i], 	leaves1[i]);
   }
+  */
 
   for(size_t j = 0; j < thread_per_batch; ++j)
   {

+ 4 - 0
preprocessing/preprocessing.cpp

@@ -209,10 +209,14 @@ int main(int argc, char * argv[])
     
  
     
+    /* For the artifact, don't actually write these in order to not use very
+     * large amounts of storage
+
     for(size_t i = 0; i < thread_per_batch; ++i)
     {
      write_evalfull_outs_into_a_file(party, i, db_nitems, flags[i],  leaves[i], final_correction_word[i], additve_shares[i]); 
     }
+    */
 
     auto end = std::chrono::steady_clock::now();
     std::chrono::duration<double> elapsed_seconds = end-start;