Re: [tclwebtest] HTML entities should be substituted in urls
Status: Abandoned
Brought to you by:
tils
From: Grzegorz A. H. <gr...@ef...> - 2003-03-03 15:42:06
|
On Mon, Mar 03, 2003 at 09:50:49AM +0000, Tilmann Singer wrote: > The translate_entities proc could be made much more efficient by > using [string map] instead of regexps - which would be more of a > benefit for things like [response text] etc. though. Note that [string map] most surely creates internally an ored regular expresion. I verified this behaviour trying to optimize some web answers of our servers, where using a bunch of regexp or a [string map] had negligible differences in execution speed (probably due to the multitasking environment). Unless translate_entities does something more, like conditional branches or patterns inside the expression, it should be just as fast as [string map]. -- Grzegorz Adam Hankiewicz, gr...@ef.... Tel: +34-94-472 35 89. eFaber SL, Maria Diaz de Haro, 68, 2 http://www.efaber.net/ 48920 Portugalete, Bizkaia (SPAIN) |