[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48734: 28.0.50; Performance regression in `string-width`?
From: |
Lars Ingebrigtsen |
Subject: |
bug#48734: 28.0.50; Performance regression in `string-width`? |
Date: |
Sun, 30 May 2021 14:18:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> If deft-mode wants to allocate space on display, then they really do
> need to use string-width, but then the changes which make them "hang"
> are really important, because before that string-width would compute
> the result incorrectly when characters are composed on display.
string-width has always been approximate (but fast), hasn't it? And to
determine the actual display width you've had to use
window-text-pixel-size or the like.
Perhaps string-width should get an extra parameter to get the new, more
accurate computation, and get the old, fast computation without this
parameter.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#48734: 28.0.50; Performance regression in `string-width`?, Imran Khan, 2021/05/29
- bug#48734: 28.0.50; Performance regression in `string-width`?, Eli Zaretskii, 2021/05/30
- Message not available
- bug#48734: 28.0.50; Performance regression in `string-width`?, Eli Zaretskii, 2021/05/30
- bug#48734: 28.0.50; Performance regression in `string-width`?, Imran Khan, 2021/05/30
- bug#48734: 28.0.50; Performance regression in `string-width`?, Eli Zaretskii, 2021/05/30
- bug#48734: 28.0.50; Performance regression in `string-width`?,
Lars Ingebrigtsen <=
- bug#48734: 28.0.50; Performance regression in `string-width`?, Eli Zaretskii, 2021/05/30
- bug#48734: 28.0.50; Performance regression in `string-width`?, Lars Ingebrigtsen, 2021/05/31
- bug#48734: 28.0.50; Performance regression in `string-width`?, Imran Khan, 2021/05/31
- bug#48734: 28.0.50; Performance regression in `string-width`?, Eli Zaretskii, 2021/05/31
- bug#48734: 28.0.50; Performance regression in `string-width`?, Eli Zaretskii, 2021/05/31