arukari
Topic Author
Posts: 5
Joined: 22 Apr 2015, 15:16

GC.Alloc occurs each time PropertyChanged is executed.

23 Nov 2018, 12:08

GC.Alloc occurs every time PropertyChanged is executed?
(in Unity MonoBehavior.Update)

Image
Last edited by arukari on 29 Nov 2018, 05:11, edited 1 time in total.
 
User avatar
jsantos
Site Admin
Posts: 3919
Joined: 20 Jan 2012, 17:18
Contact:

Re: PropertyChanged occurs every time is GC.Alloc.

27 Nov 2018, 11:48

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?
 
arukari
Topic Author
Posts: 5
Joined: 22 Apr 2015, 15:16

Re: PropertyChanged occurs every time is GC.Alloc.

28 Nov 2018, 05:47

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?
hi,
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..
 
User avatar
jsantos
Site Admin
Posts: 3919
Joined: 20 Jan 2012, 17:18
Contact:

Re: PropertyChanged occurs every time is GC.Alloc.

29 Nov 2018, 18:38

sry, I received email. so late..
Sorry about it, it seems the tracker is not sending the emails on time. We are working on it. Thanks!

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 12 guests