Subject: Re: length
From: Erik Naggum <erik@naggum.no>
Date: 1999/06/20
Newsgroups: comp.lang.lisp
Message-ID: <3138883782875459@naggum.no>

* Josef Eschgfaeller <esg@felix.unife.it>
| How fast is length for strings (or vectors)?

  LENGTH is a simple accessor for any subtype of ARRAY.

| But for a normal string, does Lisp go through memory until a terminating
| symbol is reached, or is there always a value associated to each string,
| which gives the length?  I suspect the first one is true.

  why?  Common Lisp is designed, unlike C.  do yourself a favor and stop
  thinking in C terms.  and please note that very few languages other than
  C use strings that cannot hold all possible characters.

#:Erik
-- 
@1999-07-22T00:37:33Z -- pi billion seconds since the turn of the century