Posts by user8961 • 31 points
2 posts
-
1
votes4
answers2951
viewsA: What ways to measure the performance of an algorithm?
Speedup calculation SU(p) = Ts/Tp(p) SU=Speedup Ts= serial time Tp=parallel time p = n of processes calculating efficiency E(p)=SU(p)/p If SU > 1 the parallel version reduced the runtime (it…
-
0
votes4
answers243
viewsA: Within a decision structure, does the order of terms change the outcome?
In Java it makes no difference. I’ve done it several times using the equality operator == and the result is the same