mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 13:57:14 -04:00
Use ReadOnlySpan in GetImagesForPrograms
This commit is contained in:
parent
67308f489f
commit
d64e14fcb8
@ -459,7 +459,7 @@ namespace Emby.Server.Implementations.LiveTv.Listings
|
||||
}
|
||||
|
||||
StringBuilder str = new StringBuilder("[", 1 + (programIds.Count * 13));
|
||||
foreach (string i in programIds)
|
||||
foreach (ReadOnlySpan<char> i in programIds)
|
||||
{
|
||||
str.Append('"')
|
||||
.Append(i[..10])
|
||||
|
Loading…
Reference in New Issue
Block a user