Search found 1 match
Search found 1 match • Page 1 of 1
- Wed Jun 24, 2015 5:12 am
- Forum: Common Lisp
- Topic: Storing a Sequence of Number Pairs
- Replies: 2
- Views: 4410
A sequence of pairs of integers shall be stored in a way that it can be efficiently iterated over. AFAIK, the best is to have one number after the other in a contiguous chunk of memory. If I were to use an array and represent each pair (a,b) as a (cons a b), then I presume that not the integers will...