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
In my opinion, you are overusing dynamic allocation. If it isn't necessary, you should avoid it, because it is a very slow operation. I don't see the point of making most members of a class pointers to dynamic memory. Please consider changing this.
The text was updated successfully, but these errors were encountered:
There are areas where this can definitely be reduced, mainly in file loading and per-frame updates (used minimally for this currently). A lot of the time dynamic allocations are used in objects where the lifetime lasts the runtime length. I will definitely start to remove dynamic allocation usages starting now, thanks for the feedback.
In my opinion, you are overusing dynamic allocation. If it isn't necessary, you should avoid it, because it is a very slow operation. I don't see the point of making most members of a class pointers to dynamic memory. Please consider changing this.
The text was updated successfully, but these errors were encountered: