John P. Rouillard wrote:
> In message 
> <c732ce1bf9f5f3478b35dc5f352491294b216cc...@frspx100.fr01.awl.atosor
> igin.net>,
> Conway Allen writes:
> 
>> 2. substr match and $0
>> Isn't it sufficient to just do @($subst_ref) = ($line) in match_substr?
> 
> Well to assign the $0 token I think you are right. But IIRC then you
> have to scan a bunch of strings at runtime (context, desc, action ...)
> to see if you need to substitute $0 as well.

yes, that's exactly the problem... I've done some testing in the past 
and verified that in the case of RegExp pattern type, more cpu time goes 
not for matching itself, but for doing the substitutions.
br,
risto

> 
> --
>                               -- rouilj
> John Rouillard
> ===========================================================================
> My employers don't acknowledge my existence much less my opinions.
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Simple-evcorr-users mailing list
> Simple-evcorr-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
> 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to