Advertisement

Chapter 5: Arrays and Vectors

  • Edmund Weitz

Abstract

In theory, everything that can be done with arrays can also be done with lists. But just because lists are the ubiquitous data type in Lisp and Lisp is an abbreviation for “LISt Processing,” you shouldn’t be tempted to use lists exclusively. Lists are extremely flexible and lend themselves incredibly well for prototyping (see Chapter 2), but for many algorithms arrays are the better choice because of their constant-time access characteristics.

Keywords

Good Choice Data Type Multiple Dimension Element Type Initial Content 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Supplementary material

978-1-4842-1176-2_5_MOESM1_ESM.zip (2 kb)
chapter-05 (zip 2 kb)

Copyright information

© Edmund Weitz 2016

Authors and Affiliations

  • Edmund Weitz
    • 1
  1. 1.HamburgGermany

Personalised recommendations