Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
Kernal Blas
165 bytes removed
,
13:47, 2 April 2018
→
Calculation of Pi
The hotspot within the code lies in the loops. There iteration for the loops is O(n<sup>2</sup>)
'''Potential Speedup:
Using Gustafson's Law:
P = 50% of the code
P = 0.50
n = ?
S(n)= n - ( 1 - P ) ∙ ( n - 1 )
Sn = n - ( 1 - .5 ) ∙ ( n - 1 )
Sn =
==== Data Compression ====
Jpham14
96
edits