Fixed potential performance issue with for-loops when Spans are passed by reference

This commit is contained in:
DarthAffe committed 2024-06-22 19:48:52 +02:00
1 parent 5f71ffdf1f
commit f21acbd767
36 files changed
+40 -40

No files matched your search

@@ -33,7 +33,7 @@ public sealed class LogitechZoneUpdateQueue : UpdateQueue
#region Methods
/// <inheritdoc />
protected override bool Update(in ReadOnlySpan<(object key, Color color)> dataSet)
protected override bool Update(ReadOnlySpan<(object key, Color color)> dataSet)
{
try
{