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


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

From: Dmitry Antipov <dmantipov <at> yandex.ru>
To: Barry OReilly <gundaetiapo <at> gmail.com>, 
 Stefan Monnier <monnier <at> iro.umontreal.ca>
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: Re: bug#15405: 24.3; #[] freezes emacs
Date: Sat, 21 Sep 2013 05:28:58 +0400
On 09/21/2013 01:38 AM, Barry OReilly wrote:

> If performance didn't motivate making a global zero_vector, what did?

1) Small memory saving, like with empty strings.
2) Simple implementation - (eq [] []) is trivial.

BTW, I have no ideas who and why produces empty bytecode strings.
Shouldn't it be disallowed/optimized away? IIUC this is the
only PVEC_xxx type which can be zero-sized.

Dmitry





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

Previous Next


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