Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Improve processing time for string substitutionsby Krambambuli (Curate) |
on Apr 16, 2007 at 14:35 UTC ( [id://610361]=note: print w/replies, xml ) | Need Help?? |
I'm having difficulties in understanding the exact form of the entities - is it just my browser/setup or is something wrong with the formatting ? I'd be anxious to know what Benchmark would show about the various speedup suggestions. If it would be true that the entities content might be separated by successively splitting on '>' and then on '<', replacing the content from the hash and re-joining the modified parts might even beat the regexp-based approach. Curious.
In Section
Seekers of Perl Wisdom
|
|