Erk. *grabs heart in near heart attack* 4?!
Holy smokes. I thought pointers just stored a 16 bit address... its 32? Thats crazy.
EDIT:
Err.. and speaking of which..
bits -> bytes -> kilobytes -> megs -> gigs
I think we were both wrong. Wouldnt it be 8 bits to a byte, 1024 bytes to a kilobyte, 1024 kilobytes to a meg and 1024 megs to a gig. So 1,048,576 bytes to a meg.
In which case what I was worried about doesnt matter. I was worried about a large array of reference types taking up a huge amount of memory. But perhaps not;
Assuming 4 bytes per reference, thats 524,288 references per meg (1048576 / 4). What I was previously thinking was 256 references per meg (1024 / 4). *blink*
I guess I was worrying for nothing.