[PR #14914] [CLOSED] Prefer member function find over std::find #30302

Closed
opened 2026-01-31 09:39:57 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/14914
Author: @SiliconA-Z
Created: 2/27/2023
Status: Closed

Base: mainHead: ranges


📝 Commits (1)

  • 27b3f24 Prefer member function find over std::find

📊 Changes

1 file changed (+1 additions, -3 deletions)

View changed files

📝 src/cascadia/TerminalControl/TermControl.cpp (+1 -3)

📄 Description

Member function is O(log(n)) while static is O(n)


🔄 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/microsoft/terminal/pull/14914 **Author:** [@SiliconA-Z](https://github.com/SiliconA-Z) **Created:** 2/27/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `ranges` --- ### 📝 Commits (1) - [`27b3f24`](https://github.com/microsoft/terminal/commit/27b3f244643620074c1447873f7b02855f099a58) Prefer member function find over std::find ### 📊 Changes **1 file changed** (+1 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+1 -3) </details> ### 📄 Description Member function is O(log(n)) while static is O(n) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:39:57 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30302