On 04/05/2011 10:39 PM, Ilmari Karonen wrote:
> On 04/05/2011 05:47 AM, Tim Starling wrote:
>>
>> Speaking of "fast", I did a quick benchmark of the [[Barack Obama]]
>> article with templates pre-expanded. It took 22 seconds in HipHop and
>> 112 seconds in Zend, which is not bad, for a first attempt. I reckon
>> it would do better if a few of the regular expressions were replaced
>> with tight loops.
>
> Hmm, does HipHop precompile regexen?

No. Its regex handling is the same as Zend's. It uses PCRE with a 
cache of compiled regexes, generated at runtime.

-- Tim Starling


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to