Item9826: add =~
to HoistRE so its not slower than using type='regex' - this limits its use to the documented System.RegularExpression
Priority: Normal
Current State: Closed
Released In: 1.1.1
Target Release: patch
Applies To: Engine
Component:
Branches:
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