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

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.1
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: KennethLavrsen
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 distro:f1c0b7ea6512 distro:c2d8abb8dd36 distro:dba1ee277cd5 distro:8314e46f68ab
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy