You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FeatureFlags.IsEnabled method currently uses string.Split, which results in a string array allocation. Instead, we can optimize this by using ReadOnlySpan<char> to check if the requested feature name is present, avoiding the extra allocation.
The
FeatureFlags.IsEnabled
method currently usesstring.Split
, which results in a string array allocation. Instead, we can optimize this by usingReadOnlySpan<char>
to check if the requested feature name is present, avoiding the extra allocation.azure-functions-host/src/WebJobs.Script/Config/FeatureFlags.cs
Lines 22 to 23 in 5a87303
The text was updated successfully, but these errors were encountered: