[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62537: Error compiling emacs master with native compilation activate
From: |
Mattias Engdegård |
Subject: |
bug#62537: Error compiling emacs master with native compilation activated |
Date: |
Wed, 5 Apr 2023 23:46:09 +0200 |
5 apr. 2023 kl. 23.12 skrev Andrea Corallo <akrl@sdf.org>:
>> (Perhaps we should do something like that in the LAP optimiser. Wonder how
>> common the opportunity is though.)
>
> Yeah might be a good idea even if I don't know how common this condition
> is.
Experimentally adding a LAP optimiser rule for it resulted in no matches during
a complete lisp recompilation, so it's safe to say that it's not very common.
I'm not going to bother, but perhaps your code works on something that has
undergone further transformations and is thus more likely to trigger the rule?
>> (apply #'= (hash-table-values jmp-table))
>>
>> which is arguably clearer and definitely shorter.
>
> True but with the downside that it conses.
More than the current code?