Hello!
Lets me ask a very specific question: What is the difference (in memory usage) when you have a large array, or large list of the same size (implemented with pointers). e.g
var a:array[1..1000000] of integer;
and
type
po=^p1;
p1=record
v:integer;
next:po;
end;
var p:po;
and you create list with 1000000 integers.
- Will the pointer implementation use much more memory than array?
- Will the difference will even be larger on 64 bit computers, since the pointers are 64bits.