RGB.NET icon indicating copy to clipboard operation
RGB.NET copied to clipboard

Remove CustomUpdateData heap allocation in OnUpdate hot path.

Open stonstad opened this issue 4 months ago • 1 comments

This change removes heap allocation of CustomUpdateData in the OnUpdate hot path when custom data does not exist. A read-only CustomUpdateData.Empty property is added to reuse a default instance and remove a per-update allocation.

stonstad avatar Oct 12 '24 18:10 stonstad