String data type

Andi Kleen ak@REDACTED
Sat Feb 17 07:44:16 CET 2001

On Fri, Feb 16, 2001 at 02:23:55PM -0800, David Gould wrote:
> I want to have the normal libraries or similar to work with binary strings.
> That is, I want regexs (eg perlre), spit, join, getline, upcase, str, but
> do not want to pay the size and time penalties for making lists out of
> strings. I would really prefer to use Erlang for all those text munging,
> and report building and scripty things that perl does so very well, but
> when you need to rip apart hundreds of megabytes of text, the time and
> space penalties of the list representation are too much.

Instead of ugly regexprs SNOBOL like pattern matching for text would be neat,
if you want efficient text manipulation. It would lead Erlang a bit back to
its Prolog heritance.


More information about the erlang-questions mailing list