Subject: bug#69108: false-positive warning "variable ‘_’ not left unused" in if-let* and if-let

From: Michael Heerdegen <[email-masked]>
Date: Sat, 17 Feb 2024 22:46:06 +0100

Konstantin Kharlamov <[email-masked]> writes:

> Just a side note, from my experience pcase is very slow¹, so if a
> function supposed to be called often,

The function I changed is only called when generating the expansions of
`if-let' etc, so this is not really an issue here.

> I presume it's better to avoid `pcase`. Although, Idk how it compares
> to `cond`. But judging from the fact `cond` is implemented in C, it is
> likely faster.

?... pcase also expands to things that are implemented in C, this is a
too simple benchmark.  If you want to discuss this, maybe in a different
thread, as it is not relevant here.

Michael.