mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-14 13:07:28 +00:00
perf: Small optimization in StringExtensions
This commit is contained in:
parent
b58220d3c7
commit
043a50669a
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue