|
From: | Dmitry Gutov |
Subject: | Re: The poor state of documentation of pcase like things. |
Date: | Sun, 3 Jan 2016 05:18:59 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Thunderbird/43.0 |
On 01/03/2016 05:11 AM, Noam Postavsky wrote:
(if there were some reason to exclude `cl-case')
It's a minor thing, but `pcase' is actually faster at macro-expansion, in addition to being more powerful. Try:
(benchmark 10000 '(cl-case 1 (2 3) (4 5) (1 6))) (benchmark 10000 '(pcase 1 (2 3) (4 5) (1 6)))
[Prev in Thread] | Current Thread | [Next in Thread] |