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

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

this is United States calling (was: Re: [External] : Is there any differ


From: Emanuel Berg
Subject: this is United States calling (was: Re: [External] : Is there any difference between `equal' and `string=' for strings?)
Date: Sat, 21 Aug 2021 05:43:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Drew Adams wrote:

> If both args are strings those predicates always give the
> same result.
>
> `equal' is not costly for simple things that can also be
> compared with, say `eq' or `string='. It's costly for things
> like complex list structure. But when you need `equal' you
> need `equal'. ;-)

If one passes complex list structures as an argument to
a function, how does that happen? Does it happen differently
from other types, maybe just a reference to the `car'?

I've heard of call by reference, call by value and call
by copy.

How does that work in Elisp?

And what if the value is a reference?

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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