Garbage collector collects live objects

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Dec 9 13:38:57 PST 2014


On 12/9/14 2:56 PM, Steven Schveighoffer wrote:
> On 12/9/14 12:40 PM, Ruslan Mullakhmetov wrote:

>> array holds 11 64bit pointers but it's block size is only 128 bytes < 11
>> * 64 = 704 bytes. what's wrong with this arithmetics?

Hah, just realized what's wrong. It's not 64 *bytes* per pointer, it's 
64 *bits*. So 8 bytes.

11 * 8 == 88.

Starting to sound more and more normal...

-Steve


More information about the Digitalmars-d-learn mailing list