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

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

Re: Is there a way to convert a keyboard macro to a string?


From: Emanuel Berg
Subject: Re: Is there a way to convert a keyboard macro to a string?
Date: Wed, 26 Jul 2017 22:34:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

> Not the Pope here, by a long stretch, but the
> reason is in the (Elisp) doc ("6 Sequences,
> Arrays, Vectors"): a vector is constant access
> time for the nth element, while on a list you
> need time proportional to the number n (i.e.
> you have to "walk down" the list to access its
> nth element (or rather, the little Lisp gremlin
> has to do it for you).

Yes, constant access time instead of linear.
Different data structures.

Temporal complexity... or perhaps spacial?
I don't remember.

But *how* does this happen?

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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