[core.reflect] TemplateInstance reflection

Stefan Koch uplink.coder at googlemail.com
Mon Oct 4 08:03:38 UTC 2021


On Monday, 4 October 2021 at 07:26:30 UTC, Stefan Koch wrote:
> On Monday, 4 October 2021 at 04:40:37 UTC, Elronnd wrote:
>> On Thursday, 30 September 2021 at 22:19:33 UTC, Stefan Koch 
>> wrote:
>>> preliminary tests show that the reflection data-creation 
>>> scales linearly
>>
>> I feel like all I ever do when you show off your incredible 
>> work on core.reflect or newctfe is propose completely 
>> impractical changes.  Well, let me propose another one :)
>>
>> Have you considered using the same in-memory layout for the 
>> compiler's own structures as for the core.reflect ones, so 
>> it's not linear-time but constant-time?
>
> I am not sure what you mean with impractical changes.
ahhh you said; _you_ are proposing impractical changes,
not that I am proposing impractical changes .... :-)
My bad.
Yeah using the same structure is completely impractical.



More information about the Digitalmars-d mailing list