help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What does "lacks a prefix" mean?


From: Stefan Monnier
Subject: Re: What does "lacks a prefix" mean?
Date: Fri, 10 Jul 2015 13:04:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> let* says "I need variables which depend on each
>> other" and if they're really not, that look strange.

If let behaved like let* it wouldn't look strange to you.  Many other
functional languages dropped the "simultaneous let" and only kept the
equivalent of let* (or even letrec).

>> And probably it's a bit slower.

Regarding efficiency, there's no clear winner between the two.
It's basically irrelevant.

>> And non-parallelizable theoretically :)

In practice neither is easily parallelizable anyway.  And the work
needed to auto-convert a "let*" to a "let" when possible is trivial in
comparison to what's needed to parallelize the code.
So again, it's really irrelevant.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]