Date: Thu, 8 Jul 2010 18:19:38 +1200
Reply-To: Tom Robinson <barefootguru@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Tom Robinson <barefootguru@GMAIL.COM>
Subject: Re: How to compress muliple decimal points
In-Reply-To: <201007071733.o67AmAE2020468@willow.cc.uga.edu>
Content-Type: text/plain; charset=us-ascii
The Perl regular expressions in SAS can be _slow_. I was running some generated code with about 20 select...when's, each with a prxmatch call (fixed RE). I achieved about a 4x speed increase by replacing them with standard SAS functions.
Pity, I rather like RE.
Cheers
On 2010-07-08, at 05:33, Dave Brewer wrote:
> Toby,
>
> I love your one liners! Now, if only I can understand Perl expressions.
> Looks like it's time to RTFM :=)
>
> Thanks much.
> Dave
|