[erlang-questions] regexp is slow

Ulf Wiger ulf@REDACTED
Mon Nov 6 07:09:28 CET 2006


Den 2006-11-05 23:41:08 skrev Robert Virding <robert.virding@REDACTED>:

> Counting patterns was no problem, that went fast. It was the
> substitution part that was taking most of the time. Not finding the
> matching parts of the data but doing the actual substitutions. This is
> one part of the code which much be improved, it was never considered
> that it would process such large amounts of data. Having the data in a
> binary would definitely NOT help here, it would result in an enormous
> amount of copying.

Well, the HiPE team's byte_array to the rescue then, eh?  ;-)

/Ulf W
-- 
Ulf Wiger



More information about the erlang-questions mailing list