Re: Feedback on recursive file search...
From: Mark Alexander Bertenshaw (mark.bertenshaw_at_virgin.net)
Date: 11/16/04
- Next message: Tom Esh: "Re: How to press button in other application."
- Previous message: Don Grover: "Re: How to press button in other application."
- In reply to: Schmidt: "Re: Feedback on recursive file search..."
- Next in thread: Schmidt: "Re: Feedback on recursive file search..."
- Reply: Schmidt: "Re: Feedback on recursive file search..."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Nov 2004 22:21:13 -0000
Schmidt wrote:
> "Dave" <Nobody@Nowhere.Com> schrieb im Newsbeitrag
> news:eN8KoDwyEHA.2624@TK2MSFTNGP11.phx.gbl...
>
>> I meant it philosophically, not in this specific case where the
>> FindFirst/FindNext/FindClose routine is pretty standard and wont
>> yield much to optimization. But programming is something nobody can
>> ever know everything there is to know, so it is always worth
>> revisiting old routines to see if in light of new knowledge they can
>> be improved.
>
> FindFirst/FindNext is a very good example:
> Regarding "light of new knowledge" - everybody who knows about the
> implicit Unicode-ANSI-Conversion VB does for String-Params (even in
> TypeDefs) sitting inside API-Declares, can speed up the classic
> File-Loop by factor 2-3, changing the Strings inside WIN32_FIND_DATA
> to ByteArrays.
>
> Olaf
Why do that when you can call the Unicode version of the API calls? (I
assume that you aren't writing for Win95/98/Me anymore :-) ).
-- Mark Bertenshaw Kingston upon Thames UK
- Next message: Tom Esh: "Re: How to press button in other application."
- Previous message: Don Grover: "Re: How to press button in other application."
- In reply to: Schmidt: "Re: Feedback on recursive file search..."
- Next in thread: Schmidt: "Re: Feedback on recursive file search..."
- Reply: Schmidt: "Re: Feedback on recursive file search..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|