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