GNU bug report logs - #26824
24.5; Bytecode overflow error when byte compiling large .el file

Previous Next

Package: emacs;

Reported by: Christian Wittern <cwittern <at> gmail.com>

Date: Mon, 8 May 2017 07:04:01 UTC

Severity: minor

Merged with 49718

Found in versions 24.5, 28.0.50

Full log


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

From: npostavs <at> users.sourceforge.net
To: Christian Wittern <cwittern <at> gmail.com>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, Glenn Morris <rgm <at> gnu.org>,
 26824 <at> debbugs.gnu.org
Subject: Re: bug#26824: 24.5;
 Bytecode overflow error when byte compiling large .el file
Date: Mon, 15 May 2017 23:16:38 -0400
Christian Wittern <cwittern <at> gmail.com> writes:

> Well, yes.  But I expect the timing then to be slower (although I did
> not really test this), because I would have to go sequentially through
> the alist, so I went with this inelegant method, which at least
> responses fast, even without bytecompiling.

You just need to make nested alists, as in

    '(("T" . ((1 . ((0011102 . "KR6a0001_001.txt")
                    (0011102 . "KR6a0001_001.txt")
                    (0016212 . "KR6a0001_002.txt")
                    (0016212 . "KR6a0001_002.txt")
                    (0023303 . "KR6a0001_003.txt")
                    (0023303 . "KR6a0001_003.txt")
                    (0030206 . "KR6a0001_004.txt"))))))

The `cond' form tests each case in sequence, so it should be about the
same speed as an cl-assoc-if lookup.




This bug report was last modified 3 years and 193 days ago.

Previous Next


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