Thread overview
Where is TypeInfo stored?
Mar 27, 2018
Jeremy DeHaan
Mar 27, 2018
Adam D. Ruppe
Mar 27, 2018
Jeremy DeHaan
March 27, 2018
I was doing some experiments with the runtime and I didn't notice the TypeInfo instances being allocated by the GC. Are these put into the text or data segments? Is there anyway to find out more about this process?
March 27, 2018
On Tuesday, 27 March 2018 at 18:56:58 UTC, Jeremy DeHaan wrote:
> Are these put into the text or data segments?

Yeah, they are in the data segment as static data (just like if you declared your own static array).
March 27, 2018
On Tuesday, 27 March 2018 at 19:06:38 UTC, Adam D. Ruppe wrote:
> On Tuesday, 27 March 2018 at 18:56:58 UTC, Jeremy DeHaan wrote:
>> Are these put into the text or data segments?
>
> Yeah, they are in the data segment as static data (just like if you declared your own static array).

Awesome, thanks. That is what I was hoping for.