Re: [Vala] Array of structs OR Array of classes



Hi Jan
Performance-wise, I tend to think it is, but you'll have to test. It depends
on too many things.

Memory-wise no, but the improved locality might still make it better,
especially if you iterate over the array a lot.
I will test.

Thanks very much for this lesson about memory management. 
Regards
Jörn




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