[PR #10779] Vectorize TextColor::GetColor #28230

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

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

State: closed
Merged: Yes


I was watching a video about vectorized instructions and I wanted to
try out some new things, as I had never written AVX code before.
This commit is the result of this tiny Thursday morning detour into
AVX land. It improves performance of TextColor::GetColor by about 3x.

Validation Steps Performed

  • Default colors are still properly shifted +8 ✔️
**Original Pull Request:** https://github.com/microsoft/terminal/pull/10779 **State:** closed **Merged:** Yes --- I was watching a video about vectorized instructions and I wanted to try out some new things, as I had never written AVX code before. This commit is the result of this tiny Thursday morning detour into AVX land. It improves performance of `TextColor::GetColor` by about 3x. ## Validation Steps Performed * Default colors are still properly shifted +8 ✔️
claunia added the pull-request label 2026-01-31 09:27: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#28230