AmigaActive (1338/1525)

From:Neil Bothwick
Date:27 Sep 2000 at 23:30:05
Subject:Re: Egroup Ads Re: AmiBench News

Bill Eaves said,

> On 27-Sep-00, Gerald Mellor wrote:

>>> I never see egroups ads these days thanks to Arexx :o)

>> I'm just wondering, ARexx isn't a particularly fast language,

> You can say that again.

It depends on what your doing.

>> how long
>> does it take to strip the eGroups ads from each email? And at what
>> point between downloading and reading the emails does it happen?

> I run the script after downloading mail, it is not quick

There are two ways of doing this job. If you take each mail and read it
line by line, ARexx is very slow. Read in a batch of mails as a single
string and chop out the parts containing the ads and you'll find it many
times faster.

Line by line processing of text files is particularly slow in ARexx,
whereas string handling is fast.

Neil



Neil Bothwick - New Media Editor, Amiga Active Magazine
Connected via Wirenet - http://www.wire.net.uk
The UK's first Amiga-only internet access provider
---
If you cannot fix it, feature it.

Quote carefully and read all ADMIN:README mails