markuputils: escaping tuning
markuputils: escaping tuning

Update issue 1145
Still found one more easy place to performance enhancements. When escaping HTML/XML content, it is faster to do

    if name in text:
        text = text.replace(name, value)

than just

    text = text.replace(name, value)

This dropped overhead by another 5-10%.

kurtdawg24/robotframework,userzimmermann/robotframework,SivagnanamCiena/robotframework,rwarren14/robotframework,suvarnaraju/robotframework,nmrao/robotframework,yonglehou/robotframework,wojciechtanski/robotframework,dkentw/robotframework,un33k/robotframework,fingeronthebutton/robotframework,SivagnanamCiena/robotframework,HelioGuilherme66/robotframework,fingeronthebutton/robotframework,snyderr/robotframework,ashishdeshpande/robotframework,eric-stanley/robotframework,robotframework/robotframework,yonglehou/robotframework,ashishdeshpande/robotframework,JackNokia/robotframework,ChrisHirsch/robotframework,yonglehou/robotframework,kyle1986/robortframe,moto-timo/robotframework,jorik041/robotframework,kurtdawg24/robotframework,stasiek/robotframework,xiaokeng/robotframework,yonglehou/robotframework,kyle1986/robortframe,rwarren14/robotframework,dkentw/robotframework,un33k/robotframework,userzimmermann/robotframework,yahman72/robotframework,xiaokeng/robotframework,wojciechtanski/robotframework,SivagnanamCiena/robotframework,Colorfulstan/robotframework,ChrisHirsch/robotframework,yahman72/robotframework,fingeronthebutton/robotframework,yahman72/robotframework,joongh/robotframework,SivagnanamCiena/robotframework,rwarren14/robotframework,alexandrul-ci/robotframework,snyderr/robotframework,jorik041/robotframework,synsun/robotframework,suvarnaraju/robotframework,robotframework/robotframework,stasiek/robotframework,ashishdeshpande/robotframework,ChrisHirsch/robotframework,rwarren14/robotframework,suvarnaraju/robotframework,userzimmermann/robotframework,yahman72/robotframework,jaloren/robotframework,edbrannin/robotframework,robotframework/robotframework,stasiek/robotframework,un33k/robotframework,suvarnaraju/robotframework,moto-timo/robotframework,ashishdeshpande/robotframework,joongh/robotframework,JackNokia/robotframework,un33k/robotframework,ChrisHirsch/robotframework,stasiek/robotframework,ashishdeshpande/robotframework,wojciechtanski/robotframework,nmrao/robotframework,ChrisHirsch/robotframework,dkentw/robotframework,joongh/robotframework,synsun/robotframework,synsun/robotframework,JackNokia/robotframework,xiaokeng/robotframework,jaloren/robotframework,jorik041/robotframework,joongh/robotframework,jaloren/robotframework,HelioGuilherme66/robotframework,kyle1986/robortframe,snyderr/robotframework,edbrannin/robotframework,suvarnaraju/robotframework,SivagnanamCiena/robotframework,yonglehou/robotframework,yahman72/robotframework,edbrannin/robotframework,fingeronthebutton/robotframework,stasiek/robotframework,nmrao/robotframework,userzimmermann/robotframework,joongh/robotframework,nmrao/robotframework,snyderr/robotframework,kyle1986/robortframe,moto-timo/robotframework,jaloren/robotframework,kurtdawg24/robotframework,Colorfulstan/robotframework,jorik041/robotframework,xiaokeng/robotframework,alexandrul-ci/robotframework,eric-stanley/robotframework,alexandrul-ci/robotframework,dkentw/robotframework,nmrao/robotframework,userzimmermann/robotframework,moto-timo/robotframework,synsun/robotframework,edbrannin/robotframework,alexandrul-ci/robotframework,fingeronthebutton/robotframework,wojciechtanski/robotframework,moto-timo/robotframework,Colorfulstan/robotframework,kurtdawg24/robotframework,wojciechtanski/robotframework,un33k/robotframework,Colorfulstan/robotframework,kyle1986/robortframe,alexandrul-ci/robotframework,kurtdawg24/robotframework,Colorfulstan/robotframework,synsun/robotframework,snyderr/robotframework,rwarren14/robotframework,jorik041/robotframework,HelioGuilherme66/robotframework,dkentw/robotframework,jaloren/robotframework,JackNokia/robotframework,eric-stanley/robotframework,edbrannin/robotframework,xiaokeng/robotframework,JackNokia/robotframework,eric-stanley/robotframework