Use ReadOnlySpan in GetImagesForPrograms

pull/6201/head
Patrick Barron 3 years ago
parent 67308f489f
commit d64e14fcb8

@ -459,7 +459,7 @@ namespace Emby.Server.Implementations.LiveTv.Listings
} }
StringBuilder str = new StringBuilder("[", 1 + (programIds.Count * 13)); StringBuilder str = new StringBuilder("[", 1 + (programIds.Count * 13));
foreach (string i in programIds) foreach (ReadOnlySpan<char> i in programIds)
{ {
str.Append('"') str.Append('"')
.Append(i[..10]) .Append(i[..10])

Loading…
Cancel
Save