Mercurial > hg > xemacs-beta
view README @ 5915:1af53d35dd53
Avoid allocation in #'integer-length; add #'logcount.
lisp/ChangeLog addition:
2015-05-29 Aidan Kehoe <kehoea@parhasard.net>
* byte-optimize.el (side-effect-free-fns):
Add #'integer-length, #'logcount here.
* cl-extra.el:
* cl-extra.el (integer-length):
Update this to avoid allocating memory.
* cl-extra.el (logcount): New. Return the number of one bits in
INTEGER, if non-negative. Function from Common Lisp.
tests/ChangeLog addition:
2015-05-29 Aidan Kehoe <kehoea@parhasard.net>
* automated/lisp-tests.el:
Test #'integer-length, #'logcount in this file.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Fri, 29 May 2015 17:06:24 +0100 |
parents | 10dd81a27d91 |
children |
line wrap: on
line source
This directory tree holds version 21.5 of XEmacs. Note: new changesets should be pushed to the "xemacs" repository (https://bitbucket.org/xemacs/xemacs), not "xemacs-beta". The information in this file has been superseded by the XEmacs FAQ. The easiest way to read the FAQ is to go to http://www.xemacs.org/Documentation/21.5/html/xemacs-faq_1.html You can also the local copy of the FAQ inside XEmacs by using use Help->XEmacs FAQ from the menu, or `C-h F'. If you don't have XEmacs running and can't access the web, look directly at `man/xemacs-faq.texi' or `info/xemacs-faq.info'.