[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: |
tomas |
Subject: |
Re: Is there a way to convert a keyboard macro to a string? |
Date: |
Wed, 26 Jul 2017 22:22:53 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, Jul 26, 2017 at 06:55:01PM +0200, Emanuel Berg wrote:
[...]
> While we have the Supreme Techno-Pope out of
> the paleo-Metabunker, let me ask him to explain
> the reason behind vectors.
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).
OTOH, prepending an element to a list is quick & easy,
whereas for a vector, you have to copy the whole kaboodle
to get another vector.
Similar, yet different tools.
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAll4+h0ACgkQBcgs9XrR2kZjqwCfYgHLA+wDxWWX0tFOdZK4rjS6
WrEAn2emSrFf1VisUvlyOWQ2LSrDJB0R
=WiyE
-----END PGP SIGNATURE-----
Re: Is there a way to convert a keyboard macro to a string?, Marcin Borkowski, 2017/07/26