GNU bug report logs -
#72830
Big rectangular selections are slow
Previous Next
Full log
View this message in rfc822 format
22 sep. 2024 kl. 17.32 skrev Stefan Monnier <monnier <at> iro.umontreal.ca>:
> Hmm... I thought your complaint about the cost of
> `select-active-regions` was due to the cost being too high in step
> 2 (which would indicate that the code does not behave quite like the
> design I described, and would thus be a simple bug we should fix).
>
> Are you saying that when you said:
>
> - `select-active-regions`: as mentioned, it slows down rectangle
> selection massively ...
>
> you were talking about the slowdown imposed in step 4 rather than in
> step 2?
Sorry if I've lost track with your step numbering, but the problem is still that we extract and retain the selected text both at selection and each incremental modification of it.
So the extraction needs to be delayed until either requested by the X server or locally by mouse-yank-primary. This means that we need to decide whether it would be a problem to do so, as the buffer may have changed between the selection and text extraction. (I think we shouldn't bother preserving PRIMARY data across buffer modification.)
This bug report was last modified 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.