From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: pure-fns in byte-opt.el Date: Mon, 24 Jul 2017 22:06:50 -0400 Message-ID: <20170725020650.GA12601@holos.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1500948458 3174 195.159.176.226 (25 Jul 2017 02:07:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Jul 2017 02:07:38 +0000 (UTC) User-Agent: Mutt/1.8.3 (2017-05-23) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 25 04:07:34 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZpG1-0000O1-Ta for ged-emacs-devel@m.gmane.org; Tue, 25 Jul 2017 04:07:34 +0200 Original-Received: from localhost ([::1]:57984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZpG4-00073S-CQ for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2017 22:07:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZpFQ-00073M-M0 for emacs-devel@gnu.org; Mon, 24 Jul 2017 22:06:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZpFN-0000xQ-Hf for emacs-devel@gnu.org; Mon, 24 Jul 2017 22:06:56 -0400 Original-Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]:34690) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dZpFN-0000x9-C8 for emacs-devel@gnu.org; Mon, 24 Jul 2017 22:06:53 -0400 Original-Received: by mail-qt0-x22f.google.com with SMTP id s6so31047202qtc.1 for ; Mon, 24 Jul 2017 19:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=e3SR/Z8yEzRMlIwpJ1iIoQoXJ2L5mUp24nfFHAJOZOk=; b=uPxJmcAaxECVSoaEiw+aiLggQ/qxWG2W8BerFAb0TVMeQO88WYkABkOwb03kdm/TvL iCum8T1HbmSOwYubT9tByIQwIfSBTxagdJZ6W7OCydLlmjNhG+pBpx775joPqvbC2Jy+ AiTRHLKAymQWC55oNpBh+QL68myy3X4m8Z54TnZeMT4iyjq0OMVDxzYadKWxrlVMB5TD ZgGzXpMwfkqh4IwpyCLNm2Fk43caX/6ULM48nw2MIt0EHEPPE4RRNsjDPajD38D3RNs2 F16EeJl7QUZtpMj3z3LtIalXRyMAWKKPLDOBaZB7CpnDxTJ6Fo1XOx+ogOQRNhEEKsBh qK2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=e3SR/Z8yEzRMlIwpJ1iIoQoXJ2L5mUp24nfFHAJOZOk=; b=Mt9g+ZgyZ0Hz1+bSOMAuM+ZIDktLMS7R0cTGidfEU2sv7g3d3tVdQhvxwABnuUUpHX KRcMfI0grwNY0iVdwFX04tSvQ9uaBp5vkMjsHwhkdWd3tiun737Rzg5GaYwIsql9CKfq 3tDnObmkXsCVe2+EaTvG9HUk+3esaK0obcDCL2ZPbX0IHk+Z69C56NUA6tidqv+/QcyR DlBjkCv1mMIpTe6A9KPpNDbgHu60vO8hj8qmKy6DTIOLNMCJ9GctappVO77lpq9WZe9F Inh/Cc+WzGbxgl5UeCY/0LRFz3JYb5i4sRaLpcmzYeguMaMJG3PoHuP4hmqPMaueW1ns sCbg== X-Gm-Message-State: AIVw1102U15KQf37dUJWSecGHBEF/+7Wur1pWj78dHHwOlOLjVS6+RoX ysLgnQV/IjrBGNDG5Q65lw== X-Received: by 10.200.33.134 with SMTP id 6mr24247376qty.183.1500948412403; Mon, 24 Jul 2017 19:06:52 -0700 (PDT) Original-Received: from holos.localdomain (pool-173-64-125-158.bltmmd.fios.verizon.net. [173.64.125.158]) by smtp.gmail.com with ESMTPSA id 58sm9463803qtu.88.2017.07.24.19.06.50 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Jul 2017 19:06:51 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 6BA566BB97; Mon, 24 Jul 2017 22:06:50 -0400 (EDT) Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217007 Archived-At: Hi, I was curious about what other functions might be pure and could be added to this list. While I seem to have guessed correctly on some, I am perplexed why adding string-to-char breaks things: 16288064 of 33554432 static heap bytes used 97335 pure bytes used mv -f emacs bootstrap-emacs make -C ../lisp compile-first EMACS="../src/bootstrap-emacs" make[2]: Entering directory '/tmp/makepkg/emacs-git/src/emacs/lisp' ELC emacs-lisp/byte-opt.elc make[2]: Leaving directory '/tmp/makepkg/emacs-git/src/emacs/lisp' make -C ../lisp autoloads EMACS="../src/bootstrap-emacs" make[2]: Entering directory '/tmp/makepkg/emacs-git/src/emacs/lisp' make -C ../leim all EMACS="../src/bootstrap-emacs" make[3]: Entering directory '/tmp/makepkg/emacs-git/src/emacs/leim' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/makepkg/emacs-git/src/emacs/leim' make -C ../admin/grammars all EMACS="../../src/bootstrap-emacs" make[3]: Entering directory '/tmp/makepkg/emacs-git/src/emacs/admin/grammars' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/tmp/makepkg/emacs-git/src/emacs/admin/grammars' Directories for loaddefs: . ./calc ./calendar ./cedet ./cedet/ede ./cedet/semantic ./cedet/semantic/analyze ./cedet/semantic/bovine ./cedet/semantic/decorate ./cedet/semantic/symref ./cedet/semantic/wisent ./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus ./image ./international ./language ./leim ./leim/ja-dic ./leim/quail ./mail ./mh-e ./net ./nxml ./org ./play ./progmodes ./textmodes ./url ./vc GEN loaddefs.el make[2]: Leaving directory '/tmp/makepkg/emacs-git/src/emacs/lisp' make -C ../admin/unidata all EMACS="../../src/bootstrap-emacs" make[2]: Entering directory '/tmp/makepkg/emacs-git/src/emacs/admin/unidata' GEN ../../lisp/international/uni-decomposition.el Wrong type argument: listp, "щай" make[2]: *** [Makefile:91: ../../lisp/international/uni-decomposition.el] Error 255 make[2]: Leaving directory '/tmp/makepkg/emacs-git/src/emacs/admin/unidata' make[1]: *** [Makefile:502: ../lisp/international/charprop.el] Error 2 make[1]: Leaving directory '/tmp/makepkg/emacs-git/src/emacs/src' make: *** [Makefile:416: src] Error 2