[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Patch - suboptimal code

From: Dmitry <wipedout_at_yandex.ru>
Date: Fri, 15 Jul 2011 11:38:03 +0400

Hey.

Attached is an untested patch that addresses minor performance issues:
- no need to continue the loop once a first offending element is found
- no need to call strlen to find if string is empty

Best wishes.
Dmitry.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2794022

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2011-07-15 09:38:09 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.