[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49127: Performance degradation in encode_coding_object
From: |
Eli Zaretskii |
Subject: |
bug#49127: Performance degradation in encode_coding_object |
Date: |
Mon, 16 Aug 2021 21:50:03 +0300 |
> From: Mattias Engdegård <mattiase@acm.org>
> Date: Mon, 16 Aug 2021 20:06:32 +0200
> Cc: victor.nawothnig@icloud.com, 49127@debbugs.gnu.org
>
> > Yes. Why do you think this loop is broken?
>
> Because unless I misunderstood the code entirely, the current buffer has
> nothing to do with the operation at hand.
It does, if both src_object and dst_object are the same (current)
buffer.
> It's easy to reproduce the original problem: run Emacs in a terminal and make
> a buffer with many markers. See how the text displays slower with more
> markers. I've attached a short example; try (make-test-buffer 1000).
How can we be sure this reproduces the original issue? The original
issue was reported from a real-life use case, not from a toy program.
> The attached patch fixes this problem.
Thanks, but this is not the whole story with that problem in
encode_coding_object.
- bug#49127: Performance degradation in encode_coding_object, Eli Zaretskii, 2021/08/15
- bug#49127: Performance degradation in encode_coding_object, Eli Zaretskii, 2021/08/16
- bug#49127: Performance degradation in encode_coding_object, Mattias Engdegård, 2021/08/16
- bug#49127: Performance degradation in encode_coding_object,
Eli Zaretskii <=
- bug#49127: Performance degradation in encode_coding_object, Mattias Engdegård, 2021/08/16
- bug#49127: Performance degradation in encode_coding_object, Eli Zaretskii, 2021/08/17
- bug#49127: Performance degradation in encode_coding_object, Mattias Engdegård, 2021/08/17
- bug#49127: Performance degradation in encode_coding_object, Eli Zaretskii, 2021/08/17
- bug#49127: Performance degradation in encode_coding_object, Mattias Engdegård, 2021/08/17
- bug#49127: Performance degradation in encode_coding_object, Eli Zaretskii, 2021/08/17
- bug#49127: Performance degradation in encode_coding_object, Mattias Engdegård, 2021/08/18
- bug#49127: Performance degradation in encode_coding_object, Eli Zaretskii, 2021/08/18
- bug#49127: Performance degradation in encode_coding_object, Mattias Engdegård, 2021/08/18
- bug#49127: Performance degradation in encode_coding_object, Eli Zaretskii, 2021/08/18