Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: beermoney on May 29, 2014, 04:06:10 AM

Title: Property Binding and memory allocations
Post by: beermoney on May 29, 2014, 04:06:10 AM
Hey Aren,

Are you aware that the property binding are allocating memory in their update?

I have 20 property binding in my scene and getting 1k memory alloc per update.

Thanks
Title: Re: Property Binding and memory allocations
Post by: ArenMook on May 29, 2014, 07:26:48 AM
No, but I am not surprised that it does. Reflection always involves some sort of allocation. Even to call a method via Invoke() involves GC allocation. Convenience of C# often has this kind of a downside.