[PR #6572] [MERGED] Improve bitmap::_calculateArea performance #26739

Open
opened 2026-01-31 09:17:51 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/6572
Author: @lhecker
Created: 6/18/2020
Status: Merged
Merged: 6/19/2020
Merged by: @undefined

Base: masterHead: bitmap-perf


📝 Commits (2)

  • 0be6d45 Improve bitmap::_calculateArea performance
  • ab91dc5 Addressed review comments

📊 Changes

2 files changed (+18 additions, -9 deletions)

View changed files

📝 src/inc/LibraryIncludes.h (+3 -0)
📝 src/inc/til/bitmap.h (+15 -9)

📄 Description

bitmap::_calculateArea performance can be improved by leveraging the
optimized find_first/find_next methods instead of iterating through
the bitmap manually.


🔄 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/6572 **Author:** [@lhecker](https://github.com/lhecker) **Created:** 6/18/2020 **Status:** ✅ Merged **Merged:** 6/19/2020 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `bitmap-perf` --- ### 📝 Commits (2) - [`0be6d45`](https://github.com/microsoft/terminal/commit/0be6d451d78d2a681d99a51239e91912af9da3bc) Improve bitmap::_calculateArea performance - [`ab91dc5`](https://github.com/microsoft/terminal/commit/ab91dc5d38bd7954ccf791762a733d8cd18eba81) Addressed review comments ### 📊 Changes **2 files changed** (+18 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/inc/LibraryIncludes.h` (+3 -0) 📝 `src/inc/til/bitmap.h` (+15 -9) </details> ### 📄 Description `bitmap::_calculateArea` performance can be improved by leveraging the optimized `find_first`/`find_next` methods instead of iterating through the bitmap manually. --- <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:17:51 +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#26739