GNU bug report logs - #15405
24.3; #[] freezes emacs

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Wed, 18 Sep 2013 01:52:02 UTC

Severity: normal

Merged with 16512

Found in version 24.3

Fixed in version 24.4

Done: Barry OReilly <gundaetiapo <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Barry OReilly <gundaetiapo <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>, dmantipov <at> yandex.ru
Cc: Eli Zaretskii <eliz <at> gnu.org>, stephen.berman <at> gmx.net, 15405 <at> debbugs.gnu.org, Leo Liu <sdl.web <at> gmail.com>
Subject: bug#15405: 24.3; #[] freezes emacs
Date: Fri, 20 Sep 2013 15:43:29 -0400
[Message part 1 (text/plain, inline)]
> FWIW, this behavior was introduced only recently: 24.3. It is true
> for only this one Emacs release (so far). It is an incompatible
> change from Emacs prior to 24.3, where (eq [] []) is nil.

I found the emacs-devel thread for that:
  http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00112.html
  http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00112.html

The addition of the zero_vector was tied into other changes of vector
allocation, so I don't suppose there were benchmarks specifically for
the zero_vector addition?

> So we should fix the code so that there are at least "one empty
> vector per vector type".

Thanks for the allowance of "at least". It would be good to assess the
performance impact of "(eq [] []) evaluates to nil".
[Message part 2 (text/html, inline)]

This bug report was last modified 11 years and 122 days ago.

Previous Next


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