Am Thu, 30 Apr 2015 14:27:15 +
schrieb "Jens Bauer" :
> I was wondering... Would it be possible to make selective
> TypeInfo ?
> -Eg. Only add TypeInfo for those things that really need it.
'really need it' is quite subjective. IIRC TypeInfo is mostly used for
GC, AA and sometimes arrays. Yo
On Thursday, 30 April 2015 at 14:27:17 UTC, Jens Bauer wrote:
{snip} or make a 32-bit uniqueID (perhaps even a 16-bit UID).
Note: The most frequently used typeinfo should have the lowest ID
numbers, because on small devices, loading a small value into a
register, will use very little space.
On Friday, 16 January 2015 at 18:37:28 UTC, Johannes Pfau wrote:
Am Thu, 15 Jan 2015 23:08:57 -0600
schrieb "Orvid King via D.gnu" :
TypeInfo is generated at declaration time. At that point you
can't even know if a struct will be allocated on the heap at
some point.
I was wondering... Would it