Optimized lists

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Fri Mar 11 13:02:49 CET 2005

From: "Zoltan Peter Toth" <zoltan.peter.toth@REDACTED>
> 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.


More information about the erlang-questions mailing list