in reply to Re^2: Perl object memory overhead
in thread Perl object memory overhead
Ooh! Do I spy a benchmark special case like the ones that compiler makers used to add to get good scores? :)
isa => 'Int', traits => ['Counter'], handles => { adjust_a => 'inc' },
What if you changed the increment to +33?
Also, it would be really useful to see the timing of adjust_a() run on the 3e6 objects, along with memory consumption?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl object memory overhead (Benchmark special case?)
by tobyink (Canon) on Mar 31, 2014 at 16:54 UTC |