[Vala] Generic implementation



Hi,

If I define a generic array implementation for type T that contains an
array of type T[], there is a requirement for anything > 4 bytes in size to
be boxed.  That suggests that some separate storage is created for the
boxed types, is that so?  And if so is each element of the array as
appended separately allocated, or is a block allocation done as the T[]
array is extended?

Regards,

Andrew Lees


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]