This is the mail archive of the
cygwin
mailing list for the Cygwin project.
slow file open
- From: Erdem Guven <erdemeguven at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 29 Mar 2010 18:51:24 +0300
- Subject: slow file open
- References: <680267dc1003290849s45f96dd6t1eacd043f53f7334@mail.gmail.com>
Hello,
My application uses fopen to open a lot of files. While in linux
opening and reading thousand of files doesn't even take a second; in
cygwin it takes more than 5 seconds.
I think it is because path conversion functions in cygwin dlls. 'open'
function is a bit faster. If I use -mno-cygwin it becomes very fast
but I can't use it.
Is there an easy way to make cygwin dlls just open files; without any
linux-windows conversion?
Erdem
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple