On Thu, Dec 05, 2019 at 08:34:34AM -0800, C K Kashyap wrote:
> About the "filtering with a no-op" - that was my way of getting rid of
> NIL's in the list - what's the right way :) ?

Ah, yes, sure! A valid solution!

I just did not trigger on that pattern, because I use (filter prog Lst), or
sometimes (filter bool Lst) for that without further thinking.

((X) X) has a high overhead due to the EXPR function call. It binds and unbinds
the X parameter, and runs the (almost empty) body between that.

'prog' is the ideal no-op function, as it evaluates all arguments, does
nothing else, and is a built-in and fast as such.

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe

Reply via email to