in reply to Re: My scalars swell
in thread My scalars swell
86 * (3 + 507 + 507*6) = 305472 scalars. Memory usage after forced numification 12444 kilobytes, yielding about 40 bytes per scalar (ignoring the overhead of lists and hashes themselves which I cannot measure due to lack of knowledge), which sounds pretty much the same as much simpler tests yield. But the question remains...
40 bytes per scalar?! I hardly need 4 bytes per scalar...
Ah well, guess I'll have to either forget it or go play with vec and substr. Which is not nice nor clean solution. I wonder if perl6 is going to do something about this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 3: My scalars swell
by tilly (Archbishop) on Oct 22, 2001 at 00:34 UTC |