[PR #14784] [MERGED] Avoid constant arrays as arguments #14114

Closed
opened 2026-02-07 07:24:39 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/14784
Author: @Bond-009
Created: 9/12/2025
Status: Merged
Merged: 9/12/2025
Merged by: @crobibero

Base: masterHead: chararrayallocs


📝 Commits (1)

  • 4cb655b Avoid constant arrays as arguments

📊 Changes

5 files changed (+26 additions, -21 deletions)

View changed files

📝 .editorconfig (+3 -0)
📝 MediaBrowser.Controller/Extensions/XmlReaderExtensions.cs (+4 -4)
📝 MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs (+8 -7)
📝 MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs (+8 -6)
📝 src/Jellyfin.LiveTv/TunerHosts/M3uParser.cs (+3 -4)

📄 Description

Should reduce the amount of char[] allocations.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/14784 **Author:** [@Bond-009](https://github.com/Bond-009) **Created:** 9/12/2025 **Status:** ✅ Merged **Merged:** 9/12/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `chararrayallocs` --- ### 📝 Commits (1) - [`4cb655b`](https://github.com/jellyfin/jellyfin/commit/4cb655b028668e05fb8a0a6e8102746c8b82a0a3) Avoid constant arrays as arguments ### 📊 Changes **5 files changed** (+26 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `.editorconfig` (+3 -0) 📝 `MediaBrowser.Controller/Extensions/XmlReaderExtensions.cs` (+4 -4) 📝 `MediaBrowser.Controller/MediaEncoding/EncodingJobInfo.cs` (+8 -7) 📝 `MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs` (+8 -6) 📝 `src/Jellyfin.LiveTv/TunerHosts/M3uParser.cs` (+3 -4) </details> ### 📄 Description Should reduce the amount of char[] allocations. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:24:39 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14114