- or download this
10000 array insertions took 1.00004911422729 seconds.
11000 array insertions took 1.09900379180908 seconds.
...
Hash inserts:
Y = 0.000215204607047044 * X + -0.176900404356259 with error 0.0075377
+646200501
Y : total time to insert X elements.
- or download this
7 +-----------------------------------------------------------------
+-----+
| + + +
+ |
...
1 +-----------------------------------------------------------------
+-----+
10000 15000 20000 25000
+ 30000
number of items
- or download this
use strict;
use warnings;
...
$error = sqrt($error) / $num_observations;
return { A => $A, B => $B, E => $error }
}