microsoft/Terminal

[Performance] Fast path for `RenderData::IsCursorDoubleWidth`

オープン

#10,470 opened on 2021/06/21

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (9,275 件のフォーク)batch import
Area-PerformanceHelp WantedIssue-TaskProduct-Conhost

Repository metrics

Stars
 (103,173 個のスター)
PR merge metrics
 (平均マージ 27d 19h) (30d で 24 merged PRs)

説明

This is a sister issue of #10393.

Currently an unreasonable amount of CPU is wasted in checking IsCursorDoubleWidth in the buffer, due to the expensive construction of TextBufferCellIterator. I think it's fair to find a fast path for people who don't use width characters at all.

image

コントリビューターガイド