[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56641: Deprecate `lsh`
From: |
Lars Ingebrigtsen |
Subject: |
bug#56641: Deprecate `lsh` |
Date: |
Sat, 23 Jul 2022 09:26:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Mattias Engdegård <mattiase@acm.org> writes:
> The function `lsh` works almost like `ash` but is much slower, cannot
> be constant-folded by the compiler, and above all has confusing
> semantics for historical reasons. Using `lsh` instead of `ash` is
> always a mistake.
>
> For these reasons we should deprecate `lsh`. It is not important to
> remove it as soon as possible, but to dissuade people from
> accidentally using it in their code.
I agree. I think the presence of `lsh' just confuses people. Even when
Emacs didn't have bignums it was pretty odd, but I have absolutely no
idea what any theoretical use case would be today.
- bug#56641: Deprecate `lsh`, (continued)
- bug#56641: Deprecate `lsh`, Po Lu, 2022/07/19
- bug#56641: Deprecate `lsh`, Eli Zaretskii, 2022/07/19
- bug#56641: Deprecate `lsh`, Po Lu, 2022/07/19
- bug#56641: Deprecate `lsh`, Eli Zaretskii, 2022/07/20
- bug#56641: Deprecate `lsh`, Mattias Engdegård, 2022/07/20
- bug#56641: Deprecate `lsh`, Po Lu, 2022/07/20
- bug#56641: Deprecate `lsh`, Eli Zaretskii, 2022/07/20
- bug#56641: Deprecate `lsh`, Mattias Engdegård, 2022/07/20
- bug#56641: Deprecate `lsh`, Po Lu, 2022/07/20
- bug#56641: Deprecate `lsh`, Mattias Engdegård, 2022/07/21
bug#56641: Deprecate `lsh`,
Lars Ingebrigtsen <=
bug#56641: Deprecate `lsh`, Basil L. Contovounesios, 2022/07/23
bug#56641: Deprecate `lsh`, Mattias Engdegård, 2022/07/23
bug#56641: Deprecate `lsh`, Basil L. Contovounesios, 2022/07/23