mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 05:05:05 +00:00
perf: Small optimization in StringExtensions
This commit is contained in:
@@ -37,6 +37,9 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
|
|
||||||
index = thisIndex;
|
index = thisIndex;
|
||||||
first = item;
|
first = item;
|
||||||
|
|
||||||
|
if (index == 0)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return index;
|
return index;
|
||||||
|
|||||||
Reference in New Issue
Block a user