In the output of ./listcomp, the columns are: "current size of bag", "milliseconds between this and previous row", "accumulated sum". For details, please see examples/listcomp.cpp. From the second row, it is clear that the optimized flatMap makes the program much faster (see TODO graph). The third row are same across two runs, which validates the correctness of synthesis.
Test
In the output of
./listcomp
, the columns are: "current size of bag", "milliseconds between this and previous row", "accumulated sum". For details, please seeexamples/listcomp.cpp
. From the second row, it is clear that the optimized flatMap makes the program much faster (see TODO graph). The third row are same across two runs, which validates the correctness of synthesis.