[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49127: Performance degradation in encode_coding_object
From: |
Mattias Engdegård |
Subject: |
bug#49127: Performance degradation in encode_coding_object |
Date: |
Wed, 18 Aug 2021 15:32:11 +0200 |
18 aug. 2021 kl. 15.23 skrev Eli Zaretskii <eliz@gnu.org>:
> Text property search doesn't fit the bill?
Oh it does, except that it's linear in the size of the buffer, and that doesn't
really scale either. For a single interactive lookup this might not be too bad
but there might be programmatic uses that iterate.
> These situations usually mean we lack some infrastructure, and the
> Lisp program uses what's available, with bad results. A better
> solution is to design and implement the missing infrastructure
> instead.
Could be, but markers is one type of infrastructure, and implementing something
else for the same purpose is a bit of a waste compared to just making markers
faster.
> The problem with Emacs is not the design, it's that in many cases,
> instead of extending the design where something is missing, Lisp
> programmers tend to use the existing features outside of their
> intended purpose.
Very true. We have probably done our job for the time being, but let's keep our
eyes open for uses (legitimate or not) that stress the marker system to the
point of disappointment, and consider what to do then.
- bug#49127: Performance degradation in encode_coding_object, (continued)
- 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
- bug#49127: Performance degradation in encode_coding_object,
Mattias Engdegård <=
- 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
- bug#49127: Performance degradation in encode_coding_object, Mattias Engdegård, 2021/08/18
- bug#49127: Performance degradation in encode_coding_object, Lars Ingebrigtsen, 2021/08/18
- bug#49127: Performance degradation in encode_coding_object, Michael Welsh Duggan, 2021/08/20
- bug#49127: Performance degradation in encode_coding_object, Eli Zaretskii, 2021/08/21