[PR #9552] [MERGED] Remove the shell extension's dependency on fmt for huge savings #27630

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/9552
Author: @DHowett
Created: 3/19/2021
Status: Merged
Merged: 3/21/2021
Merged by: @undefined

Base: mainHead: dev/duhowett/shellext-fmt


📝 Commits (1)

  • bf382d4 Remove the shell extension's dependency on fmt for huge savings

📊 Changes

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

View changed files

📝 src/cascadia/ShellExtension/OpenTerminalHere.cpp (+1 -1)

📄 Description

Yeah, this one-line change shaves off almost half the binary.

Binary size savings (x64 Release):

Note WindowsTerminalShellExt.dll
Before 130048
After 73728
Delta -56320
%Delta -43.3%

🔄 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/9552 **Author:** [@DHowett](https://github.com/DHowett) **Created:** 3/19/2021 **Status:** ✅ Merged **Merged:** 3/21/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/duhowett/shellext-fmt` --- ### 📝 Commits (1) - [`bf382d4`](https://github.com/microsoft/terminal/commit/bf382d47f3ac9c76903410d4dde67045175fbf98) Remove the shell extension's dependency on fmt for huge savings ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/ShellExtension/OpenTerminalHere.cpp` (+1 -1) </details> ### 📄 Description Yeah, this one-line change shaves off almost half the binary. Binary size savings (x64 Release): Note | WindowsTerminalShellExt.dll ------ | --------------------------- Before | 130048 After | 73728 Delta | -56320 %Delta | -43.3% --- <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:23:09 +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#27630