roxen.lists.pike.general
Subject | Author | Date |
---|---|---|
Re: Real memory size of an array | Bertrand LUPART <bertrand[dot]lupart[at]linkeo[dot]com> | 24-09-2009 |
Mirar @ Pike importmöte för mailinglistan <<6341[at]lyskom.lysator.liu.se>> wrote: > Isn't the problem that while an array is always around > sizeof(svalue)*n (usually around 16*n) bytes, the data contained in it > can't really be measured well since Pike has shared strings and > similar? Maybe true. Just doing a little function looping over elements which counts string sizes. I guess there's something more clever to do. -- Bertrand LUPART http://bertrand.gotpike.org/ |