mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +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;
|
||||
first = item;
|
||||
|
||||
if (index == 0)
|
||||
break;
|
||||
}
|
||||
|
||||
return index;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue