[PR #14266] Use float throughout ColorFix #30043

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

Original Pull Request: https://github.com/microsoft/terminal/pull/14266

State: closed
Merged: Yes


This is just a quick drive-by improvement. Switching from double to float
roughly doubles performance on a contemporary x86 CPU with /fp:fast.

Validation Steps Performed

  • Patch RenderSettings.hpp to include Mode::AlwaysDistinguishableColors
  • Run a color intense application in AtlasEngine and observe CPU usage
**Original Pull Request:** https://github.com/microsoft/terminal/pull/14266 **State:** closed **Merged:** Yes --- This is just a quick drive-by improvement. Switching from double to float roughly doubles performance on a contemporary x86 CPU with `/fp:fast`. ## Validation Steps Performed * Patch `RenderSettings.hpp` to include `Mode::AlwaysDistinguishableColors` * Run a color intense application in AtlasEngine and observe CPU usage
claunia added the pull-request label 2026-01-31 09:38:19 +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#30043