cygwin slow file open
Posted
by Erdem
on Stack Overflow
See other posts from Stack Overflow
or by Erdem
Published on 2010-03-29T12:31:00Z
Indexed on
2010/03/29
12:33 UTC
Read the original article
Hit count: 430
cygwin
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?
© Stack Overflow or respective owner