On Thu, Jul 27, 2006 at 04:17:14PM -0400, Larry Hall (Cygwin) wrote: >aldana wrote: >>when running a little program using CopyFile() under cygwin it is about >>as quick as totalcommander. so it must be the abstraction layer of >>cygwin which makes copying veeeery slow... > >Not necessarily. To draw that conclusion, you would want to compare >the implementation of 'cp' compiled natively ('gcc -mno-cygwin' for >example) with Cygwin's and your little program. Only if the natively >compiled version performed much closer to your program using CopyFile() >could you conclude that Cygwin is to blame.
Of course, cygwin and gcc don't use CopyFile at all, so this is really just a read/write loop. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/