You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For whatever reason, I thought it would be a genius idea if all objects that wanted to be displayed in a list inherited from a base ListItem class, that defines everything needed for something to be a list item. I didn't realize that this basically meant every object that I want to have represented in a list needs to be initialized.
So, making a list of programs will actually initialize every single program. Given that we're working in a performance-critical environment with very limited resources, this idea was quite brilliant.
I only noticed this flaw until a program was actually leaking memory when it was being initialized, resulting in the program list eventually crashing.
So yea, change that
The text was updated successfully, but these errors were encountered:
For whatever reason, I thought it would be a genius idea if all objects that wanted to be displayed in a list inherited from a base ListItem class, that defines everything needed for something to be a list item. I didn't realize that this basically meant every object that I want to have represented in a list needs to be initialized.
So, making a list of programs will actually initialize every single program. Given that we're working in a performance-critical environment with very limited resources, this idea was quite brilliant.
I only noticed this flaw until a program was actually leaking memory when it was being initialized, resulting in the program list eventually crashing.
So yea, change that
The text was updated successfully, but these errors were encountered: