perf(files): move directory-entry names instead of copying them #758
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!758
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/758/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@crevant on GitHub · 2026-09-21 19:28 UTC · original
crevant:perf/move-directory-entry-names→main· +2 −7 · 1 files · 1 commits · merged 2026-09-22 08:26 UTCAvoid one string copy/allocation per directory entry in
Common::File::GetDirEntries. The temporary platform entry list is not used after conversion, so its names can be moved safely.@coderabbitai[bot] on GitHub · 2026-09-21 19:30 UTC · original · edited 2026-09-21 19:32 UTC
Understand this PR’s impact
Explore downstream dependencies and potential security impact with Blast Radius.
View blast radius →
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
999a5d52-d031-4576-b280-f97b5e730621📥 Commits
Reviewing files that changed from the base of the PR and between
ba55ba5dc5and1eaf6299e4.📒 Files selected for processing (1)
src/common/file.cppIncluded review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough
File::GetDirEntriesnow constructsFile::DirEntryobjects directly in the result vector. The change moves each directory entry name and preserves its file-type flag.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Refactor
🚥 Pre-merge checks | ✅ 3 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
Comment
@coderabbitai helpto get the list of available commands.