Optimized lists

Vlad Dumitrescu <>
Fri Mar 11 13:02:49 CET 2005


From: "Zoltan Peter Toth" <>
> Idea:
> Store in each list element the length of the remaining part of the list.

The basic idea is thinkable, but I see one big disadvantage: strings are already
stored in a bloated way (8 bytes per char).

On the other hand, it may be useful to have in any case strings as a type or a
nicer handling of binaries_as_strings.

regards,
Vlad



More information about the erlang-questions mailing list