diff --git a/latex/content.tex b/latex/content.tex index 0c4efc2..ce97cad 100644 --- a/latex/content.tex +++ b/latex/content.tex @@ -166,9 +166,9 @@ mean = mean(values) variance = variance(values) \end{lstlisting} -Execution time : $ ~ 4.8 $ seconds +Execution time : $ 4.8 $ seconds -Memory usage : $ ~ 32 $ MB +Memory usage : $ 32 $ MB \paragraph{Improved algorithm} Continuous calculation @@ -184,9 +184,9 @@ mean = Tot / N variance = Tot2 / (N-1) - mean**2 \end{lstlisting} -Execution time : $ ~ 530 $ milliseconds +Execution time : $ 530 $ milliseconds -Memory usage : $ ~ 1.3 $ kB +Memory usage : $ 1.3 $ kB \paragraph{Analysis} Memory usage is, as expected, much lower when calculating the statistics on the fly. Furthermore, something we hadn't anticipated is the