From: Ivan Oreshnikov <oreshnikov.ivan@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 39598@debbugs.gnu.org
Subject: bug#39598: 26.3; Emacs is extremely unresponsive on a trivial python file
Date: Sat, 15 Feb 2020 19:49:37 +0100 [thread overview]
Message-ID: <CAAjt43jHUdxteGMOLYtv6VoDOG6pZERfttm3Pd+sDD-Hvmotqg@mail.gmail.com> (raw)
In-Reply-To: <83h7zsnum0.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 765 bytes --]
> What is/are the real-life use case(s) where such long series of strings
causes slowdown?
This is an intermediate state of python buffer when I am trying to build a
large-ish dictionary with lists of strings as a value. The most recent time
this happened to me is when I was writing a django migration that would
organize a list of entities into groups. I did a query to the database,
copied the column of string ids, added a double quote to the beginning and
to the end and when I tried to group and rearrange the lines together
before I wrap them into lists, but emacs became unresponsive.
What I find a bit weird is that it only happens to a long series of bare
strings. If I construct an equally long proper python list of strings I
don't see this behavior.
[-- Attachment #2: Type: text/html, Size: 874 bytes --]
next prev parent reply other threads:[~2020-02-15 18:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-14 10:48 bug#39598: 26.3; Emacs is extremely unresponsive on a trivial python file Ivan Oreshnikov
2020-02-14 13:35 ` Eli Zaretskii
2020-02-14 13:50 ` Eli Zaretskii
2020-02-14 16:08 ` Ivan Oreshnikov
2020-02-14 16:17 ` Eli Zaretskii
2020-02-14 16:31 ` Ivan Oreshnikov
2020-02-15 8:05 ` Eli Zaretskii
2020-02-15 18:49 ` Ivan Oreshnikov [this message]
2020-02-15 19:22 ` Eli Zaretskii
2020-02-15 19:31 ` Ivan Oreshnikov
2020-03-13 3:00 ` Noam Postavsky
2020-09-20 8:47 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAjt43jHUdxteGMOLYtv6VoDOG6pZERfttm3Pd+sDD-Hvmotqg@mail.gmail.com \
--to=oreshnikov.ivan@gmail.com \
--cc=39598@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.