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

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

Lists and Vectors


From: Nordlöw
Subject: Lists and Vectors
Date: Fri, 9 Oct 2009 03:28:28 -0700 (PDT)
User-agent: G2/1.0

If I have an association list say,

'(
  ("key" sym1 val1 num1)
  ("key2" sym2 val2 num2)
)

, where each entry is a fixed sequence of various objects. I might
aswell use a vector to represent an entry in this alist, right?

In this case, what do I gain by using a vector instead of list?

What about performance?: aref() faster than nth() only for large
vectors?

Is there vector-variant of assoc()? If not, why? Has any one already
written such a function?

Many thanks in advance,
Nordlöw


reply via email to

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