bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15405: 24.3; #[] freezes emacs


From: Barry OReilly
Subject: bug#15405: 24.3; #[] freezes emacs
Date: Fri, 20 Sep 2013 15:43:29 -0400

> 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".


reply via email to

[Prev in Thread] Current Thread [Next in Thread]