GNU bug report logs - #39598
26.3; Emacs is extremely unresponsive on a trivial python file

Previous Next

Package: emacs;

Reported by: Ivan Oreshnikov <oreshnikov.ivan <at> gmail.com>

Date: Fri, 14 Feb 2020 10:50:01 UTC

Severity: normal

Tags: fixed

Found in version 26.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 39598 <at> debbugs.gnu.org (full text, mbox):

From: Ivan Oreshnikov <oreshnikov.ivan <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 39598 <at> debbugs.gnu.org
Subject: Re: bug#39598: 26.3; Emacs is extremely unresponsive on a trivial
 python file
Date: Sat, 15 Feb 2020 19:49:37 +0100
[Message part 1 (text/plain, inline)]
> 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.
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 302 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.