in reply to Slow filename lookup on Win32

If that's your actual benchmark code, you've mixed up the names of the env and win32 tests, so it's actually Win32::GetLongPathName($0) that's taking the longest.

    --k.


Replies are listed 'Best First'.
Re: Re: Slow filename lookup on Win32
by trs80 (Priest) on Jan 23, 2002 at 08:45 UTC
    DOH! Then I rephrase my question:
    Why is the Win32::GetLongPathName so much slower then?
    Does it create a new object every time?