240
edits
Changes
→Pi
56 delete [] circle;
57 }
* '''Stage 1 - Big-O:'''
The (predicted) hotspot begins from line 35 and ends at line 44. Although there are two for loops, the outer for loop executes ''n'' / ''stride'' times while the inner for loop executes ''stride'' times; the actual iteration is just ''n''.
* '''Stage 2 - Potential Speedup:'''
At around 10K iterations, the first decimal is stable.