13-Jan-2014 21:49, "Ola Fosheim Grøstad" <[email protected]>" пишет:
On Monday, 13 January 2014 at 17:45:26 UTC, Dmitry Olshansky wrote:
How would it be expensive? I don't see a need to do anything to "pin"
a memory block, at the time of scanning there will be a potential
pointer to it (in the stack space of C function or registers).

How do you know that it is a pointer?


Precisely. Since C space has no type information you have to conservatively assume that everything can be a pointer.

--
Dmitry Olshansky

Reply via email to