Re: Patch: reducing code duplication by using functions
From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 31 Aug 2009 21:33:43 +0200
On 31.08.2009 11:49, Oto BREZINA wrote:
It's safe if done right. It's just easy to mess it up.
> 2. using ptr[i] is faster anyway - according intel optimazition manual (at least as i remmember)
I though pointer arithmetic was faster - but I guess with todays
> 3. where two ending \NUL becomes from ? Should be this function responsible for this, or at least test it ?
The function converts '|' chars into \0 chars. The string itself
Stefan
-- ___ oo // \\ "De Chelonian Mobile" (_,\/ \_/ \ TortoiseSVN \ \_/_\_/> The coolest Interface to (Sub)Version Control /_/ \_\ http://tortoisesvn.net ------------------------------------------------------ http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2389500 To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].Received on 2009-08-31 21:33:57 CEST |
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.