microsoft/Terminal
[Performance] Fast path for `RenderData::IsCursorDoubleWidth`
Aperta
#10.470 aperta il 21 giu 2021
Area-PerformanceHelp WantedIssue-TaskProduct-Conhost
Metriche repository
- Star
- (103.173 stelle)
- Metriche merge PR
- (Merge medio 27g 19h) (24 PR mergiate in 30 g)
Descrizione
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.
