Foswiki on GitHub is open for business! Next release meeting: Monday September 15, 1300Z

Item9826: add =~ to HoistRE so its not slower than using type='regex' - this limits its use to the documented System.RegularExpression

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine    
which means that although =~ is a re-implementation of Regex search, foswiki is evaluating the regex in Perl in a foreach loop over every topic.

this is pointlessly slow.

Item9839 contains further work that should have happened in 1.1, but is too intrusive to do in a 1.1.x patch.

-- SvenDowideit - 14 Oct 2010

I've comited to trunk, and will merge over soon

-- SvenDowideit - 18 Oct 2010

 

ItemTemplate edit

Summary add =~ to HoistRE so its not slower than using type='regex' - this limits its use to the documented RegularExpression
ReportedBy SvenDowideit
Codebase 1.1.0, trunk
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:9601 Foswikirev:9602 Foswikirev:9613 Foswikirev:9614
TargetRelease patch
ReleasedIn 1.1.1
Topic revision: r8 - 25 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License