24 Apr
2008
24 Apr
'08
13:06
Hi, On Wed, 23 Apr 2008, josef reidiner wrote:
Interesting, I think gsub works little different so I try implement little different version. Problem with replace on string with different length of substitute is that each call must move some char in internall char strorage...so if gsub instead of replacing append can be better
This is true, but not how gsub currently is implemented. If you do that, then yes, gsub might potentially be faster.
I test it on Thursday or Friday and write here result.
Cool. Ciao, Michael. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org