(Oct-09-2018, 01:04 AM)ichabod801 Wrote: And you didn't test filter. If you addYes the filter one is fast.
Can also do a run PyPy,
It take a lot time down on the solution that not so optimal and not so much(as expected) on solution that is already good.
# Python 3.7 λ python test_bo.py time_1 --> 53.79 time_2 --> 2.16 time_3 --> 1.03 time_4 --> 92.84 time_5 --> 0.20 # PyPy Python 3.5 λ pypy3 test_bo.py time_1 --> 17.54 time_2 --> 0.76 time_3 --> 0.93 time_4 --> 21.62 time_5 --> 0.15