From: Daniel Berger Date: 2008-03-20T06:30:08+09:00 Subject: Re: win32 File.size slow? On Mar 19, 12:23 pm, "Nation, Carey" wrote: > That works and the performance is good.  Two caveats.  First, in the CreateFile, it wants 0 rather than nil. It should work. I'll look into that. >Second, CloseHandle isn't implemented in windows/file.rb, so I added it to my local copy.  This is actually a really big oversight since leaving handles of any kind open in win32 is a big leak problem.   Ah, ok. Not to panic, since win32-file uses stat64(), so there are no open handles to begin with. Regards, Dan