[erlang-questions] Dict size in guards

Jeff Schultz <>
Sat Feb 12 09:29:51 CET 2011


On Fri, Feb 11, 2011 at 06:40:12PM +0900, Michael Turner wrote:
> FWIW, Doug Clark found that the average length of lists in large, mature
> lisp applications was about four.

FWIW,

1. As far as I remember, LISP programs don't typically manage strings
of characters as lists of small integers.

2. LISP doesn't have tuples, so things that in Erlang are usually
tuples are represented in LISP as small lists.

The one makes average Erlang lists longer, and the other makes average
LISP lists smaller.


    Jeff Schultz


More information about the erlang-questions mailing list