GC.Alloc occurs each time PropertyChanged is executed.
GC.Alloc occurs every time PropertyChanged is executed?
(in Unity MonoBehavior.Update)
(in Unity MonoBehavior.Update)
Last edited by arukari on 29 Nov 2018, 05:11, edited 1 time in total.
Re: PropertyChanged occurs every time is GC.Alloc.
Probably because a new PropertyChangedEventArgs is being create each time. This is something we should optimize by using pools for example. I want also to investigate if WPF is doing the same. Could you please file a ticket in the tracker?
Re: PropertyChanged occurs every time is GC.Alloc.
hi,Probably because a new PropertyChangedEventArgs is being create each time. This is something we should optimize by using pools for example. I want also to investigate if WPF is doing the same. Could you please file a ticket in the tracker?
I tried to register as a tracker, but I did not receive an email.
(tried live-mail and gmail.)
thanks.
edit:
sry, I received email. so late..
Re: PropertyChanged occurs every time is GC.Alloc.
Sorry about it, it seems the tracker is not sending the emails on time. We are working on it. Thanks!sry, I received email. so late..
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 12 guests